Class ExprToRex

java.lang.Object
org.apache.drill.common.expression.visitors.AbstractExprVisitor<org.apache.calcite.rex.RexNode,Void,RuntimeException>
org.apache.drill.exec.planner.index.ExprToRex
All Implemented Interfaces:
ExprVisitor<org.apache.calcite.rex.RexNode,Void,RuntimeException>

public class ExprToRex extends AbstractExprVisitor<org.apache.calcite.rex.RexNode,Void,RuntimeException>
Convert a logicalExpression to RexNode, notice the inputRel could be in an old plan, but newRowType is the newly built rowType that the new RexNode will be applied upon, so when reference fields, use newRowType, when need cluster, plannerSetting, etc, use old inputRel