Enum TimestreamType
- java.lang.Object
-
- java.lang.Enum<TimestreamType>
-
- com.amazonaws.athena.connectors.timestream.TimestreamType
-
- All Implemented Interfaces:
Serializable,Comparable<TimestreamType>
public enum TimestreamType extends Enum<TimestreamType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimestreamTypefromId(String id)StringgetId()org.apache.arrow.vector.types.Types.MinorTypegetMinorType()static TimestreamTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TimestreamType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VARCHAR
public static final TimestreamType VARCHAR
-
DOUBLE
public static final TimestreamType DOUBLE
-
BOOLEAN
public static final TimestreamType BOOLEAN
-
TIMESTAMP
public static final TimestreamType TIMESTAMP
-
BIGINT
public static final TimestreamType BIGINT
-
INT
public static final TimestreamType INT
-
DATE
public static final TimestreamType DATE
-
TIME
public static final TimestreamType TIME
-
INTERVAL_DAY_TO_SECOND
public static final TimestreamType INTERVAL_DAY_TO_SECOND
-
INTERVAL_YEAR_TO_MONTH
public static final TimestreamType INTERVAL_YEAR_TO_MONTH
-
UNKNOWN
public static final TimestreamType UNKNOWN
-
-
Method Detail
-
values
public static TimestreamType[] 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 (TimestreamType c : TimestreamType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TimestreamType 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
-
fromId
public static TimestreamType fromId(String id)
-
getId
public String getId()
-
getMinorType
public org.apache.arrow.vector.types.Types.MinorType getMinorType()
-
-