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
- Direct Known Subclasses:
ToStringFromAggregateMetricDoubleEvaluator
- 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, Source source) -
Method Summary
Modifier and TypeMethodDescriptionfinal 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 EvalOperator.ExpressionEvaluatornext()protected final voidregisterException(Exception exception) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.core.Releasable
close
-
Field Details
-
driverContext
-
-
Constructor Details
-
AbstractEvaluator
-
-
Method Details
-
next
-
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
-