You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/src/Services/DynamoDBv2/Custom/DataModel/AsyncSearch.cs
+30-30Lines changed: 30 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -13,18 +13,38 @@
13
13
* permissions and limitations under the License.
14
14
*/
15
15
16
-
usingAmazon.DynamoDBv2.DataModel;
17
16
usingAmazon.DynamoDBv2.DocumentModel;
18
17
19
18
namespaceAmazon.DynamoDBv2.DataModel
20
19
{
20
+
/// <summary>
21
+
/// Interface retrieving search results (Query or Scan)
22
+
/// from DynamoDB.
23
+
/// </summary>
24
+
publicpartialinterfaceIAsyncSearch<T>
25
+
{
26
+
/// <summary>
27
+
/// Flag that, if true, indicates that the search is done
28
+
/// </summary>
29
+
boolIsDone{get;}
30
+
31
+
/// <summary>
32
+
/// Pagination token corresponding to the item where the search operation stopped,
33
+
/// inclusive of the previous result set. Use this value to start a new
34
+
/// operation to resume search from the next item.
35
+
/// </summary>
36
+
stringPaginationToken{get;}
37
+
}
38
+
21
39
/// <summary>
22
40
/// A strongly-typed object for retrieving search results (Query or Scan)
23
41
/// from DynamoDB.
24
42
/// </summary>
25
-
publicpartialclassAsyncSearch<T>
43
+
publicpartialclassAsyncSearch<T>:IAsyncSearch<T>
26
44
{
27
-
#region Constructor
45
+
privateSearch_documentSearch{get;set;}
46
+
privateDynamoDBContext_sourceContext{get;set;}
47
+
privateDynamoDBFlatConfig_config{get;set;}
28
48
29
49
/// <summary>
30
50
/// This constructor is used for mocking. Users that want to mock AsyncSearch can create a subclass of AsyncSearch and make a public parameterless constructor.
0 commit comments