@Internal public enum DynamoDbType extends Enum<DynamoDbType>
| Enum Constant and Description |
|---|
BINARY |
BINARY_SET |
BOOLEAN |
LIST |
MAP |
NULL |
NUMBER |
NUMBER_SET |
STRING |
STRING_SET |
| Modifier and Type | Method and Description |
|---|---|
static DynamoDbType |
fromByteValue(byte value)
Creates a
DynamoDbType from the given byte value. |
byte |
toByteValue()
Returns the byte value representation of this
DynamoDbType. |
static DynamoDbType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DynamoDbType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DynamoDbType STRING
public static final DynamoDbType NUMBER
public static final DynamoDbType BOOLEAN
public static final DynamoDbType NULL
public static final DynamoDbType BINARY
public static final DynamoDbType STRING_SET
public static final DynamoDbType NUMBER_SET
public static final DynamoDbType BINARY_SET
public static final DynamoDbType LIST
public static final DynamoDbType MAP
public static DynamoDbType[] values()
for (DynamoDbType c : DynamoDbType.values()) System.out.println(c);
public static DynamoDbType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic byte toByteValue()
DynamoDbType. The byte value is used
for serialization and deserialization.
STRING.
NUMBER.
BOOLEAN.
NULL.
BINARY.
STRING_SET.
NUMBER_SET.
BINARY_SET.
LIST.
MAP.
public static DynamoDbType fromByteValue(byte value)
DynamoDbType from the given byte value. Each DynamoDbType has a
byte value representation.Copyright © 2022–2023 The Apache Software Foundation. All rights reserved.