Class RelOptUtil.VariableSetVisitor

  • Enclosing class:

    private static class RelOptUtil.VariableSetVisitor
    extends RelVisitor
    Visitor that finds all variables used but not stopped in an expression.
    • Field Summary

      Modifier and Type Field Description
      (package private) java.util.Set<CorrelationId> variables  
    • Constructor Summary

      Modifier Constructor Description
      private VariableSetVisitor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void visit​(RelNode p, int ordinal, RelNode parent)
      Visits a node during a traversal.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VariableSetVisitor

        private VariableSetVisitor()
    • Method Detail

      • visit

        public void visit​(RelNode p,
                          int ordinal,
                          RelNode parent)
        Description copied from class: RelVisitor
        Visits a node during a traversal.
        visit in class RelVisitor
        p - Node to visit
        ordinal - Ordinal of node within its parent
        parent - Parent of the node, or null if it is the root of the traversal