public class BatchGetItemOperation extends Object implements PaginatedDatabaseOperation<BatchGetItemRequest,BatchGetItemResponse,BatchGetResultPage>
| 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 BatchGetItemOperation |
create(BatchGetItemEnhancedRequest request) |
BatchGetItemRequest |
generateRequest(MapperExtension mapperExtension)
This method generates the request that needs to be sent to a low level
DynamoDbClient. |
Function<BatchGetItemRequest,SdkIterable<BatchGetItemResponse>> |
serviceCall(DynamoDbClient dynamoDbClient)
Provides a function for making the low level synchronous paginated SDK call to DynamoDb.
|
BatchGetResultPage |
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, executeAsyncpublic static BatchGetItemOperation create(BatchGetItemEnhancedRequest request)
public BatchGetItemRequest generateRequest(MapperExtension mapperExtension)
PaginatedDatabaseOperationDynamoDbClient.generateRequest in interface PaginatedDatabaseOperation<BatchGetItemRequest,BatchGetItemResponse,BatchGetResultPage>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 BatchGetResultPage transformResponse(BatchGetItemResponse response, MapperExtension mapperExtension)
PaginatedDatabaseOperationtransformResponse in interface PaginatedDatabaseOperation<BatchGetItemRequest,BatchGetItemResponse,BatchGetResultPage>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,BatchGetResultPage>dynamoDbClient - A low level DynamoDbClient to make the call against.public Function<BatchGetItemRequest,SdkPublisher<BatchGetItemResponse>> asyncServiceCall(DynamoDbAsyncClient dynamoDbAsyncClient)
PaginatedDatabaseOperationasyncServiceCall in interface PaginatedDatabaseOperation<BatchGetItemRequest,BatchGetItemResponse,BatchGetResultPage>dynamoDbAsyncClient - A low level DynamoDbAsyncClient to make the call against.Copyright © 2020. All rights reserved.