Class FunctionEsField
java.lang.Object
org.elasticsearch.xpack.esql.core.type.EsField
org.elasticsearch.xpack.esql.core.type.FunctionEsField
- All Implemented Interfaces:
Writeable
EsField that represents a function being applied to a field on extraction. It receives a
BlockLoaderFunctionConfig that will be passed down to the block loading process
to apply the function at data load time.-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.esql.core.type.EsField
EsField.Exact, EsField.TimeSeriesFieldTypeNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
ConstructorsConstructorDescriptionFunctionEsField(EsField esField, DataType dataType, BlockLoaderFunctionConfig functionConfig) -
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'tinthashCode()voidwriteTo(StreamOutput out) Methods inherited from class org.elasticsearch.xpack.esql.core.type.EsField
getDataType, getExactField, getName, getProperties, getReader, getTimeSeriesFieldType, getWriteableName, isAggregatable, isAlias, readFrom, readTimeSeriesFieldType, toString, writeContent, writeTimeSeriesFieldType
-
Constructor Details
-
FunctionEsField
public FunctionEsField(EsField esField, DataType dataType, BlockLoaderFunctionConfig functionConfig)
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classEsField- Throws:
IOException
-
functionConfig
-
equals
-
hashCode
public int hashCode() -
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
-