Class FindPartitionConditions.OpState

java.lang.Object
org.apache.drill.exec.planner.logical.partition.FindPartitionConditions.OpState
Enclosing class:
FindPartitionConditions

public class FindPartitionConditions.OpState extends Object
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

      public List<org.apache.calcite.rex.RexNode> getChildren()
    • clear

      public void clear()