Package net.snowflake.client.jdbc
Enum SnowflakeType.JavaDataType
- java.lang.Object
-
- java.lang.Enum<SnowflakeType.JavaDataType>
-
- net.snowflake.client.jdbc.SnowflakeType.JavaDataType
-
- All Implemented Interfaces:
Serializable,Comparable<SnowflakeType.JavaDataType>
- Enclosing class:
- SnowflakeType
public static enum SnowflakeType.JavaDataType extends Enum<SnowflakeType.JavaDataType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JAVA_BIGDECIMALJAVA_BOOLEANJAVA_BYTESJAVA_DOUBLEJAVA_DURATIONJAVA_LONGJAVA_OBJECTJAVA_PERIODJAVA_STRINGJAVA_TIMESTAMP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SnowflakeType.JavaDataTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SnowflakeType.JavaDataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JAVA_STRING
public static final SnowflakeType.JavaDataType JAVA_STRING
-
JAVA_LONG
public static final SnowflakeType.JavaDataType JAVA_LONG
-
JAVA_DOUBLE
public static final SnowflakeType.JavaDataType JAVA_DOUBLE
-
JAVA_BIGDECIMAL
public static final SnowflakeType.JavaDataType JAVA_BIGDECIMAL
-
JAVA_TIMESTAMP
public static final SnowflakeType.JavaDataType JAVA_TIMESTAMP
-
JAVA_PERIOD
public static final SnowflakeType.JavaDataType JAVA_PERIOD
-
JAVA_DURATION
public static final SnowflakeType.JavaDataType JAVA_DURATION
-
JAVA_BYTES
public static final SnowflakeType.JavaDataType JAVA_BYTES
-
JAVA_BOOLEAN
public static final SnowflakeType.JavaDataType JAVA_BOOLEAN
-
JAVA_OBJECT
public static final SnowflakeType.JavaDataType JAVA_OBJECT
-
-
Method Detail
-
values
public static SnowflakeType.JavaDataType[] 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 (SnowflakeType.JavaDataType c : SnowflakeType.JavaDataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SnowflakeType.JavaDataType 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
-
-