| Modifier and Type | Method and Description |
|---|---|
MapperExtension |
MappedIndex.getMapperExtension()
Gets the
MapperExtension associated with this mapped resource. |
MapperExtension |
MappedTable.getMapperExtension()
Gets the
MapperExtension associated with this mapped resource. |
| Modifier and Type | Method and Description |
|---|---|
default ResultT |
DatabaseOperation.execute(DynamoDbClient dynamoDbClient,
MapperExtension mapperExtension)
Default implementation of a complete execution of this operation.
|
default ResultT |
CommonOperation.execute(TableSchema<ItemT> tableSchema,
OperationContext context,
MapperExtension mapperExtension,
DynamoDbClient dynamoDbClient)
Default implementation of a complete execution of this operation against either the primary or a secondary index.
|
default ResultT |
TableOperation.executeOnPrimaryIndex(TableSchema<ItemT> tableSchema,
String tableName,
MapperExtension mapperExtension,
DynamoDbClient dynamoDbClient)
Default implementation of a complete execution of this operation against the primary index.
|
default ResultT |
IndexOperation.executeOnSecondaryIndex(TableSchema<ItemT> tableSchema,
String tableName,
String indexName,
MapperExtension mapperExtension,
DynamoDbClient dynamoDbClient)
Default implementation of a complete execution of this operation against a secondary index.
|
RequestT |
DatabaseOperation.generateRequest(MapperExtension mapperExtension)
This method generates the request that needs to be sent to a low level
DynamoDbClient. |
RequestT |
CommonOperation.generateRequest(TableSchema<ItemT> tableSchema,
OperationContext context,
MapperExtension mapperExtension)
This method generates the request that needs to be sent to a low level
DynamoDbClient. |
TransactGetItem |
TransactableReadOperation.generateTransactGetItem(TableSchema<T> tableSchema,
OperationContext operationContext,
MapperExtension mapperExtension) |
TransactWriteItem |
TransactableWriteOperation.generateTransactWriteItem(TableSchema<T> tableSchema,
OperationContext operationContext,
MapperExtension mapperExtension) |
WriteRequest |
BatchableWriteOperation.generateWriteRequest(TableSchema<T> tableSchema,
OperationContext context,
MapperExtension mapperExtension) |
ResultT |
DatabaseOperation.transformResponse(ResponseT response,
MapperExtension mapperExtension)
Takes the response object returned by the actual DynamoDb call and maps it into a higher level abstracted
result object.
|
ResultT |
CommonOperation.transformResponse(ResponseT response,
TableSchema<ItemT> tableSchema,
OperationContext context,
MapperExtension mapperExtension)
Takes the response object returned by the actual DynamoDb call and maps it into a higher level abstracted
result object.
|
| Modifier and Type | Method and Description |
|---|---|
MapperExtension |
DynamoDbMappedTable.getMapperExtension() |
MapperExtension |
DynamoDbMappedDatabase.getMapperExtension() |
MapperExtension |
DynamoDbMappedIndex.getMapperExtension() |
| Modifier and Type | Method and Description |
|---|---|
DynamoDbMappedDatabase.Builder |
DynamoDbMappedDatabase.Builder.extendWith(MapperExtension mapperExtension) |
static <ResponseT,ItemT> |
Utils.readAndTransformPaginatedItems(TableSchema<ItemT> tableSchema,
OperationContext operationContext,
MapperExtension mapperExtension,
Function<ResponseT,List<Map<String,AttributeValue>>> getItems,
Function<ResponseT,Map<String,AttributeValue>> getLastEvaluatedKey) |
static <T> T |
Utils.readAndTransformSingleItem(Map<String,AttributeValue> itemMap,
TableSchema<T> tableSchema,
OperationContext operationContext,
MapperExtension mapperExtension) |
| Modifier and Type | Class and Description |
|---|---|
class |
ChainMapperExtension
A meta-extension that allows multiple extensions to be chained in a specified order to act as a single composite
extension.
|
class |
VersionedRecordExtension
This extension implements optimistic locking on record writes by means of a 'record version number' that is used
to automatically track each revision of the record as it is modified.
|
| Modifier and Type | Method and Description |
|---|---|
static ChainMapperExtension |
ChainMapperExtension.of(MapperExtension... mapperExtensions)
Construct a new instance of
ChainMapperExtension. |
Copyright © 2019. All rights reserved.