Package org.apache.calcite.sql
Enum SqlJdbcDataTypeName
- All Implemented Interfaces:
- Serializable,- Comparable<SqlJdbcDataTypeName>,- Constable,- Symbolizable
Defines the name of the types which can occur as a type argument
 in a JDBC 
{fn CONVERT(value, type)} function.
 (This function has similar functionality to CAST, and is not to be
 confused with the SQL standard
 CONVERT function.)- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescription
- 
Method SummaryModifier and TypeMethodDescriptionCreates a parse tree node for a type identifier of this name.static SqlJdbcDataTypeNameReturns the enum constant of this type with the specified name.static SqlJdbcDataTypeName[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enumclone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.apache.calcite.sql.Symbolizablesymbol
- 
Enum Constant Details- 
SQL_CHAR
- 
SQL_VARCHAR
- 
SQL_DATE
- 
SQL_TIME
- 
SQL_TIME_WITH_LOCAL_TIME_ZONE
- 
SQL_TIME_WITH_TIME_ZONE
- 
SQL_TIMESTAMP
- 
SQL_TIMESTAMP_WITH_LOCAL_TIME_ZONE
- 
SQL_TIMESTAMP_WITH_TIME_ZONE
- 
SQL_DECIMAL
- 
SQL_NUMERIC
- 
SQL_BOOLEAN
- 
SQL_INTEGER
- 
SQL_BINARY
- 
SQL_VARBINARY
- 
SQL_TINYINT
- 
SQL_SMALLINT
- 
SQL_BIGINT
- 
SQL_REAL
- 
SQL_DOUBLE
- 
SQL_FLOAT
- 
SQL_INTERVAL_YEAR
- 
SQL_INTERVAL_YEAR_TO_MONTH
- 
SQL_INTERVAL_MONTH
- 
SQL_INTERVAL_DAY
- 
SQL_INTERVAL_DAY_TO_HOUR
- 
SQL_INTERVAL_DAY_TO_MINUTE
- 
SQL_INTERVAL_DAY_TO_SECOND
- 
SQL_INTERVAL_HOUR
- 
SQL_INTERVAL_HOUR_TO_MINUTE
- 
SQL_INTERVAL_HOUR_TO_SECOND
- 
SQL_INTERVAL_MINUTE
- 
SQL_INTERVAL_MINUTE_TO_SECOND
- 
SQL_INTERVAL_SECOND
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
createDataTypeCreates a parse tree node for a type identifier of this name.
 
-