Class RexInterpreter

java.lang.Object
org.apache.calcite.rex.RexInterpreter
All Implemented Interfaces:
RexVisitor<Comparable>

public class RexInterpreter extends Object implements RexVisitor<Comparable>
Evaluates RexNode expressions.

Caveats:

  • It uses interpretation, so it is not very efficient.
  • It is intended for testing, so does not cover very many functions and operators. (Feel free to contribute more!)
  • It is not well tested.