Modifier and Type | Interface and Description |
---|---|
interface |
DynamoDbAsyncTable<T>
Asynchronous interface for running commands against an object that is linked to a specific DynamoDb table resource
and therefore knows how to map records from that table into a modelled object.
|
interface |
DynamoDbTable<T>
Synchronous interface for running commands against an object that is linked to a specific DynamoDb table resource
and therefore knows how to map records from that table into a modelled object.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
Document.getItem(MappedTableResource<T> mappedTableResource)
Get the table item associated with the table schema in the mapped table resource.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
DefaultDocument.getItem(MappedTableResource<T> mappedTableResource) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultDynamoDbAsyncTable<T> |
class |
DefaultDynamoDbTable<T> |
Modifier and Type | Method and Description |
---|---|
<T> TransactWriteItemsEnhancedRequest.Builder |
TransactWriteItemsEnhancedRequest.Builder.addConditionCheck(MappedTableResource<T> mappedTableResource,
ConditionCheck<T> request)
Adds a condition check for a primary key in the associated table to the transaction.
|
<T> TransactWriteItemsEnhancedRequest.Builder |
TransactWriteItemsEnhancedRequest.Builder.addConditionCheck(MappedTableResource<T> mappedTableResource,
Consumer<ConditionCheck.Builder> requestConsumer)
Adds a condition check for a primary key in the associated table to the transaction by accepting a consumer
of
ConditionCheck.Builder . |
<T> TransactWriteItemsEnhancedRequest.Builder |
TransactWriteItemsEnhancedRequest.Builder.addDeleteItem(MappedTableResource<T> mappedTableResource,
Consumer<DeleteItemEnhancedRequest.Builder> requestConsumer)
Adds a primary lookup key for the item to delete, and it's associated table, to the transaction by accepting a consumer
of
DeleteItemEnhancedRequest.Builder . |
<T> TransactWriteItemsEnhancedRequest.Builder |
TransactWriteItemsEnhancedRequest.Builder.addDeleteItem(MappedTableResource<T> mappedTableResource,
DeleteItemEnhancedRequest request)
Adds a primary lookup key for the item to delete, and it's associated table, to the transaction.
|
<T> TransactGetItemsEnhancedRequest.Builder |
TransactGetItemsEnhancedRequest.Builder.addGetItem(MappedTableResource<T> mappedTableResource,
Consumer<GetItemEnhancedRequest.Builder> requestConsumer)
Adds a primary lookup key and it's associated table to the transaction by accepting a consumer of
GetItemEnhancedRequest.Builder . |
<T> TransactGetItemsEnhancedRequest.Builder |
TransactGetItemsEnhancedRequest.Builder.addGetItem(MappedTableResource<T> mappedTableResource,
GetItemEnhancedRequest request)
Adds a primary lookup key and it's associated table to the transaction.
|
<T> TransactWriteItemsEnhancedRequest.Builder |
TransactWriteItemsEnhancedRequest.Builder.addPutItem(MappedTableResource<T> mappedTableResource,
Class<? extends T> itemClass,
Consumer<PutItemEnhancedRequest.Builder<T>> requestConsumer)
Adds an item to be written, and it's associated table, to the transaction by accepting a consumer
of
PutItemEnhancedRequest.Builder . |
<T> TransactWriteItemsEnhancedRequest.Builder |
TransactWriteItemsEnhancedRequest.Builder.addPutItem(MappedTableResource<T> mappedTableResource,
PutItemEnhancedRequest<T> request)
Adds an item to be written, and it's associated table, to the transaction.
|
<T> TransactWriteItemsEnhancedRequest.Builder |
TransactWriteItemsEnhancedRequest.Builder.addUpdateItem(MappedTableResource<T> mappedTableResource,
Class<? extends T> itemClass,
Consumer<UpdateItemEnhancedRequest.Builder<T>> requestConsumer)
Adds an item to be written, and it's associated table, to the transaction by accepting a consumer
of
PutItemEnhancedRequest.Builder . |
<T> TransactWriteItemsEnhancedRequest.Builder |
TransactWriteItemsEnhancedRequest.Builder.addUpdateItem(MappedTableResource<T> mappedTableResource,
UpdateItemEnhancedRequest<T> request)
Adds an item to be updated, and it's associated table, to the transaction.
|
<T> List<T> |
BatchGetResultPage.getResultsForTable(MappedTableResource<T> mappedTable)
Retrieve all items on this result page belonging to the supplied table.
|
WriteBatch.Builder<T> |
WriteBatch.Builder.mappedTableResource(MappedTableResource<T> mappedTableResource)
Sets the mapped table resource (table) that the items in this write batch should come from.
|
ReadBatch.Builder<T> |
ReadBatch.Builder.mappedTableResource(MappedTableResource<T> mappedTableResource)
Sets the mapped table resource (table) that the items in this read batch should come from.
|
Copyright © 2020. All rights reserved.