| Package | Description |
|---|---|
| software.amazon.awssdk.enhanced.dynamodb.internal.converter | |
| software.amazon.awssdk.enhanced.dynamodb.internal.converter.attribute |
| Modifier and Type | Method and Description |
|---|---|
static EnhancedAttributeValue |
TimeConversion.toIntegerAttributeValue(Instant instant) |
static EnhancedAttributeValue |
TimeConversion.toStringAttributeValue(Instant instant) |
static EnhancedAttributeValue |
TimeConversion.toStringAttributeValue(OffsetDateTime accessor) |
static EnhancedAttributeValue |
TimeConversion.toStringAttributeValue(ZonedDateTime accessor) |
| Modifier and Type | Method and Description |
|---|---|
T |
TypeConvertingVisitor.convert(EnhancedAttributeValue value)
Convert the provided value into the target type.
|
static Instant |
TimeConversion.instantFromAttributeValue(EnhancedAttributeValue itemAttributeValue) |
static OffsetDateTime |
TimeConversion.offsetDateTimeFromAttributeValue(EnhancedAttributeValue itemAttributeValue) |
static ZonedDateTime |
TimeConversion.zonedDateTimeFromAttributeValue(EnhancedAttributeValue itemAttributeValue) |
| Modifier and Type | Method and Description |
|---|---|
T |
TypeConvertingVisitor.convertListOfAttributeValues(List<EnhancedAttributeValue> value)
Invoked when visiting an attribute in which
isListOfAttributeValues() is true. |
T |
TypeConvertingVisitor.convertMap(Map<String,EnhancedAttributeValue> value)
Invoked when visiting an attribute in which
isMap() is true. |
| Modifier and Type | Method and Description |
|---|---|
static EnhancedAttributeValue |
EnhancedAttributeValue.flatten(List<EnhancedAttributeValue> listOfAttributeValuesValue)
Takes a list of converted
EnhancedAttributeValues and flattens into a resulting
single EnhancedAttributeValue set of the corresponding type. |
static EnhancedAttributeValue |
EnhancedAttributeValue.fromAttributeValue(AttributeValue attributeValue)
Create an
EnhancedAttributeValue from a generated AttributeValue. |
static EnhancedAttributeValue |
EnhancedAttributeValue.fromAttributeValueMap(Map<String,AttributeValue> attributeValues)
Create an
EnhancedAttributeValue from a generated Map<String, AttributeValue>. |
static EnhancedAttributeValue |
EnhancedAttributeValue.fromBoolean(Boolean booleanValue)
Create an
EnhancedAttributeValue for a boolean (bool) DynamoDB type. |
static EnhancedAttributeValue |
EnhancedAttributeValue.fromBytes(SdkBytes bytesValue)
Create an
EnhancedAttributeValue for a bytes (b) DynamoDB type. |
static EnhancedAttributeValue |
EnhancedAttributeValue.fromListOfAttributeValues(EnhancedAttributeValue... listOfAttributeValuesValue)
Create an
EnhancedAttributeValue for a list-of-attributes (l) DynamoDB type. |
static EnhancedAttributeValue |
EnhancedAttributeValue.fromListOfAttributeValues(List<EnhancedAttributeValue> listOfAttributeValuesValue)
Create an
EnhancedAttributeValue for a list-of-attributes (l) DynamoDB type. |
static EnhancedAttributeValue |
EnhancedAttributeValue.fromMap(Map<String,EnhancedAttributeValue> mapValue)
Create an
EnhancedAttributeValue for a map (m) DynamoDB type. |
static EnhancedAttributeValue |
EnhancedAttributeValue.fromNumber(String numberValue)
Create an
EnhancedAttributeValue for a number (n) DynamoDB type. |
static EnhancedAttributeValue |
EnhancedAttributeValue.fromSetOfBytes(Collection<SdkBytes> setOfBytesValue)
Create an
EnhancedAttributeValue for a set-of-bytes (bs) DynamoDB type. |
static EnhancedAttributeValue |
EnhancedAttributeValue.fromSetOfBytes(SdkBytes... setOfBytesValue)
Create an
EnhancedAttributeValue for a set-of-bytes (bs) DynamoDB type. |
static EnhancedAttributeValue |
EnhancedAttributeValue.fromSetOfNumbers(Collection<String> setOfNumbersValue)
Create an
EnhancedAttributeValue for a set-of-numbers (ns) DynamoDB type. |
static EnhancedAttributeValue |
EnhancedAttributeValue.fromSetOfNumbers(String... setOfNumbersValue)
Create an
EnhancedAttributeValue for a set-of-numbers (ns) DynamoDB type. |
static EnhancedAttributeValue |
EnhancedAttributeValue.fromSetOfStrings(Collection<String> setOfStringsValue)
Create an
EnhancedAttributeValue for a set-of-strings (ss) DynamoDB type. |
static EnhancedAttributeValue |
EnhancedAttributeValue.fromSetOfStrings(String... setOfStringsValue)
Create an
EnhancedAttributeValue for a set-of-strings (ss) DynamoDB type. |
static EnhancedAttributeValue |
EnhancedAttributeValue.fromString(String stringValue)
Create an
EnhancedAttributeValue for a string (s) DynamoDB type. |
static EnhancedAttributeValue |
EnhancedAttributeValue.nullValue()
Create an
EnhancedAttributeValue for the null DynamoDB type. |
| Modifier and Type | Method and Description |
|---|---|
List<EnhancedAttributeValue> |
EnhancedAttributeValue.asListOfAttributeValues()
Retrieve this value as a list of attribute values.
|
Map<String,EnhancedAttributeValue> |
EnhancedAttributeValue.asMap()
Retrieve this value as a map.
|
| Modifier and Type | Method and Description |
|---|---|
static EnhancedAttributeValue |
EnhancedAttributeValue.fromListOfAttributeValues(EnhancedAttributeValue... listOfAttributeValuesValue)
Create an
EnhancedAttributeValue for a list-of-attributes (l) DynamoDB type. |
| Modifier and Type | Method and Description |
|---|---|
static EnhancedAttributeValue |
EnhancedAttributeValue.flatten(List<EnhancedAttributeValue> listOfAttributeValuesValue)
Takes a list of converted
EnhancedAttributeValues and flattens into a resulting
single EnhancedAttributeValue set of the corresponding type. |
static EnhancedAttributeValue |
EnhancedAttributeValue.fromListOfAttributeValues(List<EnhancedAttributeValue> listOfAttributeValuesValue)
Create an
EnhancedAttributeValue for a list-of-attributes (l) DynamoDB type. |
static EnhancedAttributeValue |
EnhancedAttributeValue.fromMap(Map<String,EnhancedAttributeValue> mapValue)
Create an
EnhancedAttributeValue for a map (m) DynamoDB type. |
Copyright © 2020. All rights reserved.