Class FindPartitionConditions.OpState
java.lang.Object
org.apache.drill.exec.planner.logical.partition.FindPartitionConditions.OpState
- Enclosing class:
- FindPartitionConditions
During top-down traversal of the expression tree, keep track of the
current operators that are directory filters. Children that are
directory filters add themselves to their parent operators.
NOTE: this auxiliary class is necessary because RexNodes are immutable.
If they were mutable, we could have easily added/dropped inputs as we
encountered directory filters.
-
Constructor Details
-
OpState
public OpState(org.apache.calcite.sql.SqlOperator op)
-
-
Method Details
-
getOp
public org.apache.calcite.sql.SqlOperator getOp() -
addChild
public void addChild(org.apache.calcite.rex.RexNode n) -
getChildren
-
clear
public void clear()
-