Modifier and Type | Method and Description |
---|---|
Key |
Key.Builder.build()
Construct a
Key from this builder. |
Key |
DynamoDbIndex.keyFrom(T item)
Creates a
Key object from a modelled item. |
Key |
DynamoDbAsyncIndex.keyFrom(T item)
Creates a
Key object from a modelled item. |
Key |
MappedTableResource.keyFrom(T item)
Creates a
Key object from a modelled item. |
Modifier and Type | Method and Description |
---|---|
default T |
DynamoDbTable.deleteItem(Key key)
Deletes a single item from the mapped table using a supplied primary
Key . |
default CompletableFuture<T> |
DynamoDbAsyncTable.deleteItem(Key key)
Deletes a single item from the mapped table using a supplied primary
Key . |
default T |
DynamoDbTable.getItem(Key key)
Retrieves a single item from the mapped table using a supplied primary
Key . |
default CompletableFuture<T> |
DynamoDbAsyncTable.getItem(Key key)
Retrieves a single item from the mapped table using a supplied primary
Key . |
Modifier and Type | Method and Description |
---|---|
static <T> Key |
EnhancedClientUtils.createKeyFromItem(T item,
TableSchema<T> tableSchema,
String indexName) |
static Key |
EnhancedClientUtils.createKeyFromMap(Map<String,AttributeValue> itemMap,
TableSchema<?> tableSchema,
String indexName) |
Modifier and Type | Method and Description |
---|---|
Key |
DefaultDynamoDbAsyncTable.keyFrom(T item) |
Key |
DefaultDynamoDbTable.keyFrom(T item) |
Key |
DefaultDynamoDbAsyncIndex.keyFrom(T item) |
Key |
DefaultDynamoDbIndex.keyFrom(T item) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<T> |
DefaultDynamoDbAsyncTable.deleteItem(Key key) |
T |
DefaultDynamoDbTable.deleteItem(Key key) |
CompletableFuture<T> |
DefaultDynamoDbAsyncTable.getItem(Key key) |
T |
DefaultDynamoDbTable.getItem(Key key) |
Constructor and Description |
---|
BeginsWithConditional(Key key) |
BetweenConditional(Key key1,
Key key2) |
EqualToConditional(Key key) |
SingleKeyItemConditional(Key key,
String operator) |
Modifier and Type | Method and Description |
---|---|
Key |
GetItemOperation.key() |
Key |
BatchableReadOperation.key() |
Modifier and Type | Method and Description |
---|---|
Key |
DeleteItemEnhancedRequest.key()
Returns the primary
Key for the item to delete. |
Key |
GetItemEnhancedRequest.key()
Returns the primary
Key for the item to get. |
Key |
ConditionCheck.key()
Returns the primary
Key that the condition is valid for, or null if it doesn't exist. |
Modifier and Type | Method and Description |
---|---|
List<Key> |
BatchWriteResult.unprocessedDeleteItemsForTable(MappedTableResource<?> mappedTable)
Retrieve any unprocessed delete action keys belonging to the supplied table from the result.
|
Modifier and Type | Method and Description |
---|---|
WriteBatch.Builder<T> |
WriteBatch.Builder.addDeleteItem(Key key)
Adds a DeleteItem request to the builder.
|
<T> TransactWriteItemsEnhancedRequest.Builder |
TransactWriteItemsEnhancedRequest.Builder.addDeleteItem(MappedTableResource<T> mappedTableResource,
Key key)
Adds a primary lookup key for the item to delete, and it's associated table, to the transaction.
|
ReadBatch.Builder<T> |
ReadBatch.Builder.addGetItem(Key key)
Adds a GetItem request with a primary
Key to the builder. |
TransactGetItemsEnhancedRequest.Builder |
TransactGetItemsEnhancedRequest.Builder.addGetItem(MappedTableResource<?> mappedTableResource,
Key key)
Adds a primary lookup key and it's associated table to the transaction.
|
DeleteItemEnhancedRequest.Builder |
DeleteItemEnhancedRequest.Builder.key(Key key)
Sets the primary
Key that will be used to match the item to delete. |
GetItemEnhancedRequest.Builder |
GetItemEnhancedRequest.Builder.key(Key key)
Sets the primary
Key that will be used to match the item to retrieve. |
ConditionCheck.Builder |
ConditionCheck.Builder.key(Key key)
Sets the primary
Key that will be used together with the condition expression. |
static QueryConditional |
QueryConditional.keyEqualTo(Key key)
Creates a
QueryConditional that matches when the key of an index is equal to a specific value. |
static QueryConditional |
QueryConditional.sortBeginsWith(Key key)
Creates a
QueryConditional that matches when the key of an index begins with a specific value. |
static QueryConditional |
QueryConditional.sortBetween(Key keyFrom,
Key keyTo)
Creates a
QueryConditional that matches when the key of an index is between two specific values. |
static QueryConditional |
QueryConditional.sortGreaterThan(Key key)
Creates a
QueryConditional that matches when the key of an index is greater than a specific value. |
static QueryConditional |
QueryConditional.sortGreaterThanOrEqualTo(Key key)
Creates a
QueryConditional that matches when the key of an index is greater than or equal to a specific
value. |
static QueryConditional |
QueryConditional.sortLessThan(Key key)
Creates a
QueryConditional that matches when the key of an index is less than a specific value. |
static QueryConditional |
QueryConditional.sortLessThanOrEqualTo(Key key)
Creates a
QueryConditional that matches when the key of an index is less than or equal to a specific
value. |
Copyright © 2020. All rights reserved.