Package org.elasticsearch.xpack.sql.jdbc
Enum EsType
- java.lang.Object
-
- java.lang.Enum<EsType>
-
- org.elasticsearch.xpack.sql.jdbc.EsType
-
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description java.lang.StringgetName()java.lang.StringgetVendor()java.lang.IntegergetVendorTypeNumber()static EsTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EsType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULL
public static final EsType NULL
-
UNSUPPORTED
public static final EsType UNSUPPORTED
-
BOOLEAN
public static final EsType BOOLEAN
-
BYTE
public static final EsType BYTE
-
SHORT
public static final EsType SHORT
-
INTEGER
public static final EsType INTEGER
-
LONG
public static final EsType LONG
-
DOUBLE
public static final EsType DOUBLE
-
FLOAT
public static final EsType FLOAT
-
HALF_FLOAT
public static final EsType HALF_FLOAT
-
SCALED_FLOAT
public static final EsType SCALED_FLOAT
-
KEYWORD
public static final EsType KEYWORD
-
TEXT
public static final EsType TEXT
-
OBJECT
public static final EsType OBJECT
-
NESTED
public static final EsType NESTED
-
BINARY
public static final EsType BINARY
-
DATE
public static final EsType DATE
-
DATETIME
public static final EsType DATETIME
-
IP
public static final EsType IP
-
INTERVAL_YEAR
public static final EsType INTERVAL_YEAR
-
INTERVAL_MONTH
public static final EsType INTERVAL_MONTH
-
INTERVAL_YEAR_TO_MONTH
public static final EsType INTERVAL_YEAR_TO_MONTH
-
INTERVAL_DAY
public static final EsType INTERVAL_DAY
-
INTERVAL_HOUR
public static final EsType INTERVAL_HOUR
-
INTERVAL_MINUTE
public static final EsType INTERVAL_MINUTE
-
INTERVAL_SECOND
public static final EsType INTERVAL_SECOND
-
INTERVAL_DAY_TO_HOUR
public static final EsType INTERVAL_DAY_TO_HOUR
-
INTERVAL_DAY_TO_MINUTE
public static final EsType INTERVAL_DAY_TO_MINUTE
-
INTERVAL_DAY_TO_SECOND
public static final EsType INTERVAL_DAY_TO_SECOND
-
INTERVAL_HOUR_TO_MINUTE
public static final EsType INTERVAL_HOUR_TO_MINUTE
-
INTERVAL_HOUR_TO_SECOND
public static final EsType INTERVAL_HOUR_TO_SECOND
-
INTERVAL_MINUTE_TO_SECOND
public static final EsType INTERVAL_MINUTE_TO_SECOND
-
-
Method Detail
-
values
public static EsType[] 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
public static EsType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfacejava.sql.SQLType
-
getVendor
public java.lang.String getVendor()
- Specified by:
getVendorin interfacejava.sql.SQLType
-
getVendorTypeNumber
public java.lang.Integer getVendorTypeNumber()
- Specified by:
getVendorTypeNumberin interfacejava.sql.SQLType
-
-