Class KeywordEsField
java.lang.Object
org.elasticsearch.xpack.esql.core.type.EsField
org.elasticsearch.xpack.esql.core.type.KeywordEsField
- All Implemented Interfaces:
Writeable
Information about a field in an ES index with the
keyword type.-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.esql.core.type.EsField
EsField.ExactNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
ConstructorsModifierConstructorDescriptionKeywordEsField(String name) KeywordEsField(String name, Map<String, EsField> properties, boolean hasDocValues, int precision, boolean normalized) KeywordEsField(String name, Map<String, EsField> properties, boolean hasDocValues, int precision, boolean normalized, boolean isAlias) protectedKeywordEsField(String name, DataType esDataType, Map<String, EsField> properties, boolean hasDocValues, int precision, boolean normalized, boolean isAlias) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns andEsField.Exactobject with all the necessary info about the field: If it has an exact underlying field or not and if not an error message why it doesn'tbooleanintThis needs to be overridden by subclasses for specific serializationinthashCode()voidwriteContent(StreamOutput out) This needs to be overridden by subclasses for specific serializationMethods inherited from class org.elasticsearch.xpack.esql.core.type.EsField
getDataType, getExactField, getName, getProperties, getReader, isAggregatable, isAlias, readFrom, toString, writeTo
-
Constructor Details
-
KeywordEsField
-
KeywordEsField
-
KeywordEsField
-
KeywordEsField
-
KeywordEsField
- Throws:
IOException
-
-
Method Details
-
writeContent
Description copied from class:EsFieldThis needs to be overridden by subclasses for specific serialization- Overrides:
writeContentin classEsField- Throws:
IOException
-
getWriteableName
Description copied from class:EsFieldThis needs to be overridden by subclasses for specific serialization- Overrides:
getWriteableNamein classEsField
-
getPrecision
public int getPrecision() -
getNormalized
public boolean getNormalized() -
getExactInfo
Description copied from class:EsFieldReturns andEsField.Exactobject with all the necessary info about the field:- If it has an exact underlying field or not
- and if not an error message why it doesn't
- Overrides:
getExactInfoin classEsField
-
equals
-
hashCode
public int hashCode()
-