Class TransactGetItemsOperation
- java.lang.Object
-
- software.amazon.awssdk.enhanced.dynamodb.internal.operations.TransactGetItemsOperation
-
- All Implemented Interfaces:
DatabaseOperation<TransactGetItemsRequest,TransactGetItemsResponse,List<Document>>
public class TransactGetItemsOperation extends Object implements DatabaseOperation<TransactGetItemsRequest,TransactGetItemsResponse,List<Document>>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 levelDynamoDbClient
.OperationName
operationName()
The type, or name, of the operation.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.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.enhanced.dynamodb.internal.operations.DatabaseOperation
execute, executeAsync
-
-
-
-
Method Detail
-
create
public static TransactGetItemsOperation create(TransactGetItemsEnhancedRequest request)
-
operationName
public OperationName operationName()
Description copied from interface:DatabaseOperation
The type, or name, of the operation.- Specified by:
operationName
in interfaceDatabaseOperation<TransactGetItemsRequest,TransactGetItemsResponse,List<Document>>
-
generateRequest
public TransactGetItemsRequest generateRequest(DynamoDbEnhancedClientExtension extension)
Description copied from interface:DatabaseOperation
This method generates the request that needs to be sent to a low levelDynamoDbClient
.- Specified by:
generateRequest
in interfaceDatabaseOperation<TransactGetItemsRequest,TransactGetItemsResponse,List<Document>>
- Parameters:
extension
- ADynamoDbEnhancedClientExtension
that may modify the request of this operation. A null value here will result in no modifications.- Returns:
- A request that can be used as an argument to a
DynamoDbClient
call to perform the operation.
-
serviceCall
public Function<TransactGetItemsRequest,TransactGetItemsResponse> serviceCall(DynamoDbClient dynamoDbClient)
Description copied from interface:DatabaseOperation
Provides a function for making the low level synchronous SDK call to DynamoDb.- Specified by:
serviceCall
in interfaceDatabaseOperation<TransactGetItemsRequest,TransactGetItemsResponse,List<Document>>
- Parameters:
dynamoDbClient
- A low levelDynamoDbClient
to make the call against.- Returns:
- A function that calls DynamoDb with a provided request object and returns the response object.
-
asyncServiceCall
public Function<TransactGetItemsRequest,CompletableFuture<TransactGetItemsResponse>> asyncServiceCall(DynamoDbAsyncClient dynamoDbAsyncClient)
Description copied from interface:DatabaseOperation
Provides a function for making the low level non-blocking asynchronous SDK call to DynamoDb.- Specified by:
asyncServiceCall
in interfaceDatabaseOperation<TransactGetItemsRequest,TransactGetItemsResponse,List<Document>>
- Parameters:
dynamoDbAsyncClient
- A low levelDynamoDbAsyncClient
to make the call against.- Returns:
- A function that calls DynamoDb with a provided request object and returns a
CompletableFuture
for the response object.
-
transformResponse
public List<Document> transformResponse(TransactGetItemsResponse response, DynamoDbEnhancedClientExtension extension)
Description copied from interface:DatabaseOperation
Takes the response object returned by the actual DynamoDb call and maps it into a higher level abstracted result object.- Specified by:
transformResponse
in interfaceDatabaseOperation<TransactGetItemsRequest,TransactGetItemsResponse,List<Document>>
- Parameters:
response
- The response object returned by the DynamoDb call for this operation.extension
- ADynamoDbEnhancedClientExtension
that may modify the result of this operation. A null value here will result in no modifications.- Returns:
- A high level result object as specified by the implementation of this operation.
-
-