@Evolving public interface ExpressionEvaluator extends AutoCloseable
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.| Modifier and Type | Method and Description |
|---|---|
ColumnVector |
eval(ColumnarBatch input)
Evaluate the expression on given
ColumnarBatch data. |
ColumnVector eval(ColumnarBatch input)
ColumnarBatch data.input - input data in columnar format.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.