Class RexToExpression

java.lang.Object
org.apache.drill.exec.planner.index.RexToExpression

public class RexToExpression extends Object
This class is an enhanced version for DrillOptiq, 1, it can convert expressions in one more layer(project that have expression) above project-scan, while DrillOptiq can only convert expressions directly reference scan's row type, 2, it can record the generated LogicalExpression of each rexNode in the rexNode tree for future reference this result can serve future rewrite that need to locate particular LogicalExpressions