Enum ScalarType
- java.lang.Object
-
- java.lang.Enum<ScalarType>
-
- software.amazon.awssdk.services.timestreamquery.model.ScalarType
-
- All Implemented Interfaces:
Serializable,Comparable<ScalarType>
@Generated("software.amazon.awssdk:codegen") public enum ScalarType extends Enum<ScalarType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIGINTBOOLEANDATEDOUBLEINTEGERINTERVAL_DAY_TO_SECONDINTERVAL_YEAR_TO_MONTHTIMETIMESTAMPUNKNOWNUNKNOWN_TO_SDK_VERSIONVARCHAR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScalarTypefromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<ScalarType>knownValues()StringtoString()static ScalarTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ScalarType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VARCHAR
public static final ScalarType VARCHAR
-
BOOLEAN
public static final ScalarType BOOLEAN
-
BIGINT
public static final ScalarType BIGINT
-
DOUBLE
public static final ScalarType DOUBLE
-
TIMESTAMP
public static final ScalarType TIMESTAMP
-
DATE
public static final ScalarType DATE
-
TIME
public static final ScalarType TIME
-
INTERVAL_DAY_TO_SECOND
public static final ScalarType INTERVAL_DAY_TO_SECOND
-
INTERVAL_YEAR_TO_MONTH
public static final ScalarType INTERVAL_YEAR_TO_MONTH
-
UNKNOWN
public static final ScalarType UNKNOWN
-
INTEGER
public static final ScalarType INTEGER
-
UNKNOWN_TO_SDK_VERSION
public static final ScalarType UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static ScalarType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ScalarType c : ScalarType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScalarType valueOf(String name)
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
-
toString
public String toString()
- Overrides:
toStringin classEnum<ScalarType>
-
fromValue
public static ScalarType fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- ScalarType corresponding to the value
-
knownValues
public static Set<ScalarType> knownValues()
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownScalarTypes
-
-