Enum SynapseDataType
- java.lang.Object
-
- java.lang.Enum<SynapseDataType>
-
- com.amazonaws.athena.connectors.synapse.SynapseDataType
-
- All Implemented Interfaces:
Serializable,Comparable<SynapseDataType>
public enum SynapseDataType extends Enum<SynapseDataType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BITDATEDATETIMEDATETIME2DATETIMEOFFSETNUMERICSMALLDATETIMESMALLMONEYTINYINT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.arrow.vector.types.pojo.ArrowTypefromType(String synapseType)static booleanisSupported(String dataType)static SynapseDataTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SynapseDataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BIT
public static final SynapseDataType BIT
-
TINYINT
public static final SynapseDataType TINYINT
-
NUMERIC
public static final SynapseDataType NUMERIC
-
SMALLMONEY
public static final SynapseDataType SMALLMONEY
-
DATE
public static final SynapseDataType DATE
-
DATETIME
public static final SynapseDataType DATETIME
-
DATETIME2
public static final SynapseDataType DATETIME2
-
SMALLDATETIME
public static final SynapseDataType SMALLDATETIME
-
DATETIMEOFFSET
public static final SynapseDataType DATETIMEOFFSET
-
-
Method Detail
-
values
public static SynapseDataType[] 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 (SynapseDataType c : SynapseDataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SynapseDataType 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
-
fromType
public static org.apache.arrow.vector.types.pojo.ArrowType fromType(String synapseType)
-
isSupported
public static boolean isSupported(String dataType)
-
-