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