Class for retrieving a batch of Documents from a single DynamoDB table.
Inheritance Hierarchy
Namespace: Amazon.DynamoDBv2.DocumentModel
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public class DocumentBatchGet : Object
The DocumentBatchGet type exposes the following members
Constructors
| Name | Description | |
|---|---|---|
|
DocumentBatchGet(Table) | Constructs a DocumentBatchGet instance for a specific table. |
Properties
| Name | Description | |
|---|---|---|
|
AttributesToGet | List of attributes to retrieve. |
|
ConsistentRead | If set to true, a consistent read is issued. Otherwise eventually-consistent is used. |
|
Results | List of results retrieved from DynamoDB. Populated after Execute is called. |
Methods
| Name | Description | |
|---|---|---|
|
AddKey(Primitive) | Add a single item to get, identified by its hash primary key. |
|
AddKey(Primitive, Primitive) | Add a single item to get, identified by its hash-and-range primary key. |
|
AddKey(IDictionary`2) | |
|
BeginExecute(AsyncCallback, object) |
Initiates the asynchronous execution of the Execute operation.
|
|
Combine(DocumentBatchGet) | Creates a MultiTableDocumentBatchGet object that is a combination of the current DocumentBatchGet and the specified DocumentBatchGet. |
|
EndExecute(IAsyncResult) |
Finishes the asynchronous execution of the Execute operation.
|
|
Execute() | Executes a server call to batch-get the documents requested. Populates Results with the retrieved items. |
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5