Package | Description |
---|---|
software.amazon.awssdk.enhanced.dynamodb | |
software.amazon.awssdk.enhanced.dynamodb.model |
Modifier and Type | Method and Description |
---|---|
static Key.Builder |
Key.builder()
Returns a new builder that can be used to construct an instance of this class.
|
Key.Builder |
Key.Builder.partitionValue(AttributeValue partitionValue)
Value to be used for the partition key
|
Key.Builder |
Key.Builder.partitionValue(Number partitionValue)
Numeric value to be used for the partition key.
|
Key.Builder |
Key.Builder.partitionValue(SdkBytes partitionValue)
Binary value to be used for the partition key.
|
Key.Builder |
Key.Builder.partitionValue(String partitionValue)
String value to be used for the partition key.
|
Key.Builder |
Key.Builder.sortValue(AttributeValue sortValue)
Value to be used for the sort key
|
Key.Builder |
Key.Builder.sortValue(Number sortValue)
Numeric value to be used for the sort key.
|
Key.Builder |
Key.Builder.sortValue(SdkBytes sortValue)
Binary value to be used for the sort key.
|
Key.Builder |
Key.Builder.sortValue(String sortValue)
String value to be used for the sort key.
|
Key.Builder |
Key.toBuilder()
Converts an existing key into a builder object that can be used to modify its values and then create a new key.
|
Modifier and Type | Method and Description |
---|---|
DeleteItemEnhancedRequest.Builder |
DeleteItemEnhancedRequest.Builder.key(Consumer<Key.Builder> keyConsumer)
Sets the primary
Key that will be used to match the item to delete
on the builder by accepting a consumer of Key.Builder . |
ConditionCheck.Builder |
ConditionCheck.Builder.key(Consumer<Key.Builder> keyConsumer)
Sets the primary
Key that will be used together with the condition expression
on the builder by accepting a consumer of Key.Builder . |
GetItemEnhancedRequest.Builder |
GetItemEnhancedRequest.Builder.key(Consumer<Key.Builder> keyConsumer)
Sets the primary
Key that will be used to match the item to retrieve
by accepting a consumer of Key.Builder . |
TransactDeleteItemEnhancedRequest.Builder |
TransactDeleteItemEnhancedRequest.Builder.key(Consumer<Key.Builder> keyConsumer)
Sets the primary
Key that will be used to match the item to delete
on the builder by accepting a consumer of Key.Builder . |
static QueryConditional |
QueryConditional.keyEqualTo(Consumer<Key.Builder> keyConsumer)
Creates a
QueryConditional that matches when the key of an index is equal to a specific value. |
static QueryConditional |
QueryConditional.sortBeginsWith(Consumer<Key.Builder> keyConsumer)
Creates a
QueryConditional that matches when the key of an index begins with a specific value. |
static QueryConditional |
QueryConditional.sortBetween(Consumer<Key.Builder> keyFromConsumer,
Consumer<Key.Builder> keyToConsumer)
Creates a
QueryConditional that matches when the key of an index is between two specific values. |
static QueryConditional |
QueryConditional.sortBetween(Consumer<Key.Builder> keyFromConsumer,
Consumer<Key.Builder> keyToConsumer)
Creates a
QueryConditional that matches when the key of an index is between two specific values. |
static QueryConditional |
QueryConditional.sortGreaterThan(Consumer<Key.Builder> keyConsumer)
Creates a
QueryConditional that matches when the key of an index is greater than a specific value. |
static QueryConditional |
QueryConditional.sortGreaterThanOrEqualTo(Consumer<Key.Builder> keyConsumer)
Creates a
QueryConditional that matches when the key of an index is greater than or equal to a specific
value. |
static QueryConditional |
QueryConditional.sortLessThan(Consumer<Key.Builder> keyConsumer)
Creates a
QueryConditional that matches when the key of an index is less than a specific value. |
static QueryConditional |
QueryConditional.sortLessThanOrEqualTo(Consumer<Key.Builder> keyConsumer)
Creates a
QueryConditional that matches when the key of an index is less than or equal to a specific
value. |
Copyright © 2021. All rights reserved.