Class PigRelOpWalker.PlanPreVisitor

  • Direct Known Subclasses:
    PigRelOpVisitor
    Enclosing class:
    PigRelOpWalker

    abstract static class PigRelOpWalker.PlanPreVisitor
    extends org.apache.pig.newplan.logical.relational.LogicalRelationalNodesVisitor
    Visitor that allow doing pre-visit.
    • Field Summary

      • Fields inherited from class org.apache.pig.newplan.PlanVisitor

        currentWalker, DEFAULT_SCOPE, plan
    • Constructor Summary

      Constructors 
      Constructor Description
      PlanPreVisitor​(org.apache.pig.newplan.OperatorPlan plan, org.apache.pig.newplan.PlanWalker walker)  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract boolean preVisit​(org.apache.pig.newplan.logical.relational.LogicalRelationalOperator root)
      Called before a node.
      • Methods inherited from class org.apache.pig.newplan.logical.relational.LogicalRelationalNodesVisitor

        visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
      • Methods inherited from class org.apache.pig.newplan.PlanVisitor

        getPlan, popWalker, pushWalker, visit
      • Methods inherited from class java.lang.Object

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

      • PlanPreVisitor

        PlanPreVisitor​(org.apache.pig.newplan.OperatorPlan plan,
                       org.apache.pig.newplan.PlanWalker walker)
                throws org.apache.pig.impl.logicalLayer.FrontendException
        Throws:
        org.apache.pig.impl.logicalLayer.FrontendException
    • Method Detail

      • preVisit

        public abstract boolean preVisit​(org.apache.pig.newplan.logical.relational.LogicalRelationalOperator root)
        Called before a node.
        Parameters:
        root - Pig logical operator to check
        Returns:
        Returns whether the node has been visited before