Class AbstractConvertFunction.AbstractEvaluator
java.lang.Object
org.elasticsearch.xpack.esql.expression.function.scalar.convert.AbstractConvertFunction.AbstractEvaluator
- All Implemented Interfaces:
Closeable,AutoCloseable,EvalOperator.ExpressionEvaluator,org.elasticsearch.core.Releasable
- Enclosing class:
AbstractConvertFunction
public abstract static class AbstractConvertFunction.AbstractEvaluator
extends Object
implements EvalOperator.ExpressionEvaluator
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.compute.operator.EvalOperator.ExpressionEvaluator
EvalOperator.ExpressionEvaluator.Factory -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractEvaluator(DriverContext driverContext, EvalOperator.ExpressionEvaluator field, Source source) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()final Blockprotected abstract BlockCalled when evaluating aBlockthat contains null values.protected abstract BlockevalVector(Vector v) Called when evaluating aBlockthat does not contain null values.protected abstract Stringname()protected final voidregisterException(Exception exception) final StringtoString()
-
Field Details
-
driverContext
-
-
Constructor Details
-
AbstractEvaluator
protected AbstractEvaluator(DriverContext driverContext, EvalOperator.ExpressionEvaluator field, Source source)
-
-
Method Details
-
name
-
evalBlock
Called when evaluating aBlockthat contains null values.- Returns:
- the returned Block has its own reference and the caller is responsible for releasing it.
-
evalVector
Called when evaluating aBlockthat does not contain null values.- Returns:
- the returned Block has its own reference and the caller is responsible for releasing it.
-
eval
- Specified by:
evalin interfaceEvalOperator.ExpressionEvaluator
-
registerException
-
toString
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.elasticsearch.core.Releasable
-