Enum Class EsqlDataTypeConverter.EsqlConverter
java.lang.Object
java.lang.Enum<EsqlDataTypeConverter.EsqlConverter>
org.elasticsearch.xpack.esql.type.EsqlDataTypeConverter.EsqlConverter
- All Implemented Interfaces:
Serializable,Comparable<EsqlDataTypeConverter.EsqlConverter>,Constable,NamedWriteable,Writeable,Converter
- Enclosing class:
EsqlDataTypeConverter
public static enum EsqlDataTypeConverter.EsqlConverter
extends Enum<EsqlDataTypeConverter.EsqlConverter>
implements Converter
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic Converterread(StreamInput in) Returns the enum constant of this class with the specified name.static EsqlDataTypeConverter.EsqlConverter[]values()Returns an array containing the constants of this enum class, in the order they are declared.voidwriteTo(StreamOutput out)
-
Enum Constant Details
-
STRING_TO_DATE_PERIOD
-
STRING_TO_TIME_DURATION
-
STRING_TO_CHRONO_FIELD
-
STRING_TO_DATETIME
-
STRING_TO_DATE_NANOS
-
STRING_TO_IP
-
STRING_TO_VERSION
-
STRING_TO_DOUBLE
-
STRING_TO_LONG
-
STRING_TO_INT
-
STRING_TO_BOOLEAN
-
STRING_TO_GEO
-
STRING_TO_SPATIAL
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
read
- Throws:
IOException
-
convert
-