public class TransactGetItems extends Object implements DatabaseOperation<TransactGetItemsRequest,TransactGetItemsResponse,List<UnmappedItem>>
Modifier and Type | Class and Description |
---|---|
static class |
TransactGetItems.Builder |
Modifier and Type | Method and Description |
---|---|
static TransactGetItems.Builder |
builder() |
boolean |
equals(Object o) |
TransactGetItemsRequest |
generateRequest(MapperExtension mapperExtension)
This method generates the request that needs to be sent to a low level
DynamoDbClient . |
List<ReadTransaction> |
getReadTransactions() |
Function<TransactGetItemsRequest,TransactGetItemsResponse> |
getServiceCall(DynamoDbClient dynamoDbClient)
Provides a function for making the low level SDK call to DynamoDb.
|
int |
hashCode() |
static TransactGetItems |
of(List<ReadTransaction> transactGetRequests) |
static TransactGetItems |
of(ReadTransaction... readTransactions) |
TransactGetItems.Builder |
toBuilder() |
List<UnmappedItem> |
transformResponse(TransactGetItemsResponse response,
MapperExtension mapperExtension)
Takes the response object returned by the actual DynamoDb call and maps it into a higher level abstracted
result object.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
execute
public static TransactGetItems of(List<ReadTransaction> transactGetRequests)
public static TransactGetItems of(ReadTransaction... readTransactions)
public static TransactGetItems.Builder builder()
public TransactGetItems.Builder toBuilder()
public TransactGetItemsRequest generateRequest(MapperExtension mapperExtension)
DatabaseOperation
DynamoDbClient
.generateRequest
in interface DatabaseOperation<TransactGetItemsRequest,TransactGetItemsResponse,List<UnmappedItem>>
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 Function<TransactGetItemsRequest,TransactGetItemsResponse> getServiceCall(DynamoDbClient dynamoDbClient)
DatabaseOperation
getServiceCall
in interface DatabaseOperation<TransactGetItemsRequest,TransactGetItemsResponse,List<UnmappedItem>>
dynamoDbClient
- A low level DynamoDbClient
to make the call against.public List<UnmappedItem> transformResponse(TransactGetItemsResponse response, MapperExtension mapperExtension)
DatabaseOperation
transformResponse
in interface DatabaseOperation<TransactGetItemsRequest,TransactGetItemsResponse,List<UnmappedItem>>
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 List<ReadTransaction> getReadTransactions()
Copyright © 2019. All rights reserved.