Class PigRelExWalker


  • class PigRelExWalker
    extends org.apache.pig.newplan.PlanWalker
    Post-order walker for Pig expression plans. Walk the plan from source to sinks.
    • Field Summary

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

        plan
    • Constructor Summary

      Constructors 
      Constructor Description
      PigRelExWalker​(org.apache.pig.newplan.OperatorPlan plan)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void postOrderWalk​(org.apache.pig.newplan.Operator root, org.apache.pig.newplan.PlanVisitor visitor)
      Does post-order walk on the Pig expression plan from source to sinks.
      org.apache.pig.newplan.PlanWalker spawnChildWalker​(org.apache.pig.newplan.OperatorPlan operatorPlan)  
      void walk​(org.apache.pig.newplan.PlanVisitor planVisitor)  
      • Methods inherited from class org.apache.pig.newplan.PlanWalker

        getPlan, setPlan
      • Methods inherited from class java.lang.Object

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

      • PigRelExWalker

        PigRelExWalker​(org.apache.pig.newplan.OperatorPlan plan)
    • Method Detail

      • walk

        public void walk​(org.apache.pig.newplan.PlanVisitor planVisitor)
                  throws org.apache.pig.impl.logicalLayer.FrontendException
        Specified by:
        walk in class org.apache.pig.newplan.PlanWalker
        Throws:
        org.apache.pig.impl.logicalLayer.FrontendException
      • postOrderWalk

        private void postOrderWalk​(org.apache.pig.newplan.Operator root,
                                   org.apache.pig.newplan.PlanVisitor visitor)
                            throws org.apache.pig.impl.logicalLayer.FrontendException
        Does post-order walk on the Pig expression plan from source to sinks.
        Parameters:
        root - The root expression operator
        visitor - The visitor of each Pig expression node.
        Throws:
        org.apache.pig.impl.logicalLayer.FrontendException - Exception during processing Pig operator
      • spawnChildWalker

        public org.apache.pig.newplan.PlanWalker spawnChildWalker​(org.apache.pig.newplan.OperatorPlan operatorPlan)
        Specified by:
        spawnChildWalker in class org.apache.pig.newplan.PlanWalker