Class InbuiltFunctionEvaluator

  • All Implemented Interfaces:
    FunctionEvaluator

    public class InbuiltFunctionEvaluator
    extends Object
    implements FunctionEvaluator
    Evaluates an expression.

    This is optimized for evaluating an expression multiple times with different inputs.

    Overall idea: parse the expression into an ExecutableNode, where an ExecutableNode can be:

    • FunctionNode - executes a function
    • ColumnNode - fetches the value of the column from the input GenericRow
    • ConstantNode - returns the literal value