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(DynamoDbEnhancedClientExtension extension)
This method generates the request that needs to be sent to a low level
DynamoDbClient . |
OperationName |
operationName()
The type, or name, of the operation.
|
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,
DynamoDbEnhancedClientExtension extension)
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, wait
execute, executeAsync
public static BatchGetItemOperation create(BatchGetItemEnhancedRequest request)
public OperationName operationName()
PaginatedDatabaseOperation
operationName
in interface PaginatedDatabaseOperation<BatchGetItemRequest,BatchGetItemResponse,BatchGetResultPage>
public BatchGetItemRequest generateRequest(DynamoDbEnhancedClientExtension extension)
PaginatedDatabaseOperation
DynamoDbClient
.generateRequest
in interface PaginatedDatabaseOperation<BatchGetItemRequest,BatchGetItemResponse,BatchGetResultPage>
extension
- A DynamoDbEnhancedClientExtension
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, DynamoDbEnhancedClientExtension extension)
PaginatedDatabaseOperation
transformResponse
in interface PaginatedDatabaseOperation<BatchGetItemRequest,BatchGetItemResponse,BatchGetResultPage>
response
- The response object returned by the DynamoDb call for this operation.extension
- A DynamoDbEnhancedClientExtension
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)
PaginatedDatabaseOperation
serviceCall
in interface PaginatedDatabaseOperation<BatchGetItemRequest,BatchGetItemResponse,BatchGetResultPage>
dynamoDbClient
- A low level DynamoDbClient
to make the call against.public Function<BatchGetItemRequest,SdkPublisher<BatchGetItemResponse>> asyncServiceCall(DynamoDbAsyncClient dynamoDbAsyncClient)
PaginatedDatabaseOperation
asyncServiceCall
in interface PaginatedDatabaseOperation<BatchGetItemRequest,BatchGetItemResponse,BatchGetResultPage>
dynamoDbAsyncClient
- A low level DynamoDbAsyncClient
to make the call against.Copyright © 2022. All rights reserved.