Package gudusoft.gsqlparser
Enum ELiteralType
- All Implemented Interfaces:
Serializable,Comparable<ELiteralType>,java.lang.constant.Constable
Type of
TConstant-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOracle bind variableHive string list datatype -
Method Summary
Modifier and TypeMethodDescriptiongetText()intgetValue()static ELiteralTypeReturns the enum constant of this type with the specified name.static ELiteralType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
unknownType
-
etNumber
-
etFloat
-
etString
-
etTimestamp
-
etDate
-
etTime
-
etInterval
-
etTrue
-
etFalse
-
etBindVar
Oracle bind variable -
etStringLiteralSequence
Hive string list datatype -
integer_et
-
string_et
-
real_et
-
money_et
-
binary_et
-
null_et
-
default_et
-
max_et
-
odbc_et
-
numeric_et
-
character_string
-
national_character_string
-
unicode_character_string
-
binary_string
-
datetime_date
-
datetime_time
-
datetime_timestamp
-
interval
-
bool
-
current_schema
-
array_literals
-
etFakeDate
-
etStar
-
etJson
-
etPeriod
-
etAny
-
etDefault
-
etMaxValue
-
etArray
-
etMap
-
etRow
-
etSet
-
-
Method Details
-
values
Returns 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
-
valueOf
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
-
getText
-
getValue
-