Package io.delta.kernel.expressions
Interface ExpressionEvaluator
- All Superinterfaces:
AutoCloseable
Interface for implementing an
Expression evaluator.
It contains one Expression which can be evaluated on multiple ColumnarBatches
Connectors can implement this interface to optimize the evaluation using the
connector specific capabilities.- Since:
- 3.0.0
-
Method Summary
Modifier and TypeMethodDescriptioneval(ColumnarBatch input) Evaluate the expression on givenColumnarBatchdata.Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
eval
Evaluate the expression on givenColumnarBatchdata.- Parameters:
input- input data in columnar format.- Returns:
- Result of the expression as a
ColumnVector. Contains one value for each row of the input. The data type of the output is same as the type output of the expression this evaluator is using.
-