Enum DynamoDbAttributeType
java.lang.Object
java.lang.Enum<DynamoDbAttributeType>
org.evomaster.client.java.controller.dynamodb.DynamoDbAttributeType
- All Implemented Interfaces:
Serializable,Comparable<DynamoDbAttributeType>,java.lang.constant.Constable
DynamoDB attribute types accepted by the
attribute_type expression function.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic DynamoDbAttributeTypeMaps an exact DynamoDB type token to its enum value.getToken()booleanChecks whether this type and another type are scalar/set variants of the same value family.static DynamoDbAttributeTypeReturns the enum constant of this type with the specified name.static DynamoDbAttributeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STRING
-
STRING_SET
-
NUMBER
-
NUMBER_SET
-
BINARY
-
BINARY_SET
-
BOOLEAN
-
NULL
-
LIST
-
MAP
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromToken
Maps an exact DynamoDB type token to its enum value.- Parameters:
token- DynamoDB attribute type token- Returns:
- matching attribute type
- Throws:
IllegalArgumentException- when the token is null or unsupported
-
getToken
- Returns:
- DynamoDB type token used in expression attribute values
-
isScalarSetVariantOf
Checks whether this type and another type are scalar/set variants of the same value family.- Parameters:
other- type to compare- Returns:
truefor the S/SS, N/NS, and B/BS pairs in either direction
-