public class BatchGetItem extends Object implements PaginatedDatabaseOperation<BatchGetItemRequest,BatchGetItemResponse,BatchGetItem.ResultsPage>
| Modifier and Type | Class and Description |
|---|---|
static class |
BatchGetItem.Builder |
static class |
BatchGetItem.ResultsPage |
| Modifier and Type | Method and Description |
|---|---|
Function<BatchGetItemRequest,SdkPublisher<BatchGetItemResponse>> |
asyncServiceCall(DynamoDbAsyncClient dynamoDbAsyncClient)
Provides a function for making the low level non-blocking asynchronous paginated SDK call to DynamoDb.
|
static BatchGetItem.Builder |
builder() |
static BatchGetItem |
create(Collection<ReadBatch> readBatches) |
static BatchGetItem |
create(ReadBatch... readBatches) |
boolean |
equals(Object o) |
BatchGetItemRequest |
generateRequest(MapperExtension mapperExtension)
This method generates the request that needs to be sent to a low level
DynamoDbClient. |
int |
hashCode() |
Collection<ReadBatch> |
readBatches() |
Function<BatchGetItemRequest,SdkIterable<BatchGetItemResponse>> |
serviceCall(DynamoDbClient dynamoDbClient)
Provides a function for making the low level synchronous paginated SDK call to DynamoDb.
|
BatchGetItem.Builder |
toBuilder() |
BatchGetItem.ResultsPage |
transformResponse(BatchGetItemResponse response,
MapperExtension mapperExtension)
Takes the response object returned by the actual DynamoDb call and maps it into a higher level abstracted
result object.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitexecute, executeAsyncpublic static BatchGetItem create(Collection<ReadBatch> readBatches)
public static BatchGetItem create(ReadBatch... readBatches)
public static BatchGetItem.Builder builder()
public BatchGetItem.Builder toBuilder()
public BatchGetItemRequest generateRequest(MapperExtension mapperExtension)
PaginatedDatabaseOperationDynamoDbClient.generateRequest in interface PaginatedDatabaseOperation<BatchGetItemRequest,BatchGetItemResponse,BatchGetItem.ResultsPage>mapperExtension - A MapperExtension that may modify the request of this operation. A null value
here will result in no modifications.DynamoDbClient call to perform the operation.public BatchGetItem.ResultsPage transformResponse(BatchGetItemResponse response, MapperExtension mapperExtension)
PaginatedDatabaseOperationtransformResponse in interface PaginatedDatabaseOperation<BatchGetItemRequest,BatchGetItemResponse,BatchGetItem.ResultsPage>response - The response object returned by the DynamoDb call for this operation.mapperExtension - A MapperExtension that may modify the result of this operation. A null value
here will result in no modifications.public Function<BatchGetItemRequest,SdkIterable<BatchGetItemResponse>> serviceCall(DynamoDbClient dynamoDbClient)
PaginatedDatabaseOperationserviceCall in interface PaginatedDatabaseOperation<BatchGetItemRequest,BatchGetItemResponse,BatchGetItem.ResultsPage>dynamoDbClient - A low level DynamoDbClient to make the call against.public Function<BatchGetItemRequest,SdkPublisher<BatchGetItemResponse>> asyncServiceCall(DynamoDbAsyncClient dynamoDbAsyncClient)
PaginatedDatabaseOperationasyncServiceCall in interface PaginatedDatabaseOperation<BatchGetItemRequest,BatchGetItemResponse,BatchGetItem.ResultsPage>dynamoDbAsyncClient - A low level DynamoDbAsyncClient to make the call against.public Collection<ReadBatch> readBatches()
Copyright © 2020. All rights reserved.