public class TransactGetItemsOperation extends Object implements DatabaseOperation<TransactGetItemsRequest,TransactGetItemsResponse,List<Document>>
Modifier and Type | Method and Description |
---|---|
Function<TransactGetItemsRequest,CompletableFuture<TransactGetItemsResponse>> |
asyncServiceCall(DynamoDbAsyncClient dynamoDbAsyncClient)
Provides a function for making the low level non-blocking asynchronous SDK call to DynamoDb.
|
static TransactGetItemsOperation |
create(TransactGetItemsEnhancedRequest request) |
TransactGetItemsRequest |
generateRequest(DynamoDbEnhancedClientExtension extension)
This method generates the request that needs to be sent to a low level
DynamoDbClient . |
Function<TransactGetItemsRequest,TransactGetItemsResponse> |
serviceCall(DynamoDbClient dynamoDbClient)
Provides a function for making the low level synchronous SDK call to DynamoDb.
|
List<Document> |
transformResponse(TransactGetItemsResponse 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 TransactGetItemsOperation create(TransactGetItemsEnhancedRequest request)
public TransactGetItemsRequest generateRequest(DynamoDbEnhancedClientExtension extension)
DatabaseOperation
DynamoDbClient
.generateRequest
in interface DatabaseOperation<TransactGetItemsRequest,TransactGetItemsResponse,List<Document>>
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 Function<TransactGetItemsRequest,TransactGetItemsResponse> serviceCall(DynamoDbClient dynamoDbClient)
DatabaseOperation
serviceCall
in interface DatabaseOperation<TransactGetItemsRequest,TransactGetItemsResponse,List<Document>>
dynamoDbClient
- A low level DynamoDbClient
to make the call against.public Function<TransactGetItemsRequest,CompletableFuture<TransactGetItemsResponse>> asyncServiceCall(DynamoDbAsyncClient dynamoDbAsyncClient)
DatabaseOperation
asyncServiceCall
in interface DatabaseOperation<TransactGetItemsRequest,TransactGetItemsResponse,List<Document>>
dynamoDbAsyncClient
- A low level DynamoDbAsyncClient
to make the call against.CompletableFuture
for the response object.public List<Document> transformResponse(TransactGetItemsResponse response, DynamoDbEnhancedClientExtension extension)
DatabaseOperation
transformResponse
in interface DatabaseOperation<TransactGetItemsRequest,TransactGetItemsResponse,List<Document>>
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.Copyright © 2021. All rights reserved.