org.apache.pig.backend.hadoop.executionengine.physicalLayer.plans
Class XMLPhysicalPlanPrinter<P extends OperatorPlan<PhysicalOperator>>

java.lang.Object
  extended by org.apache.pig.impl.plan.PlanVisitor<PhysicalOperator,PhysicalPlan>
      extended by org.apache.pig.backend.hadoop.executionengine.physicalLayer.plans.PhyPlanVisitor
          extended by org.apache.pig.backend.hadoop.executionengine.physicalLayer.plans.XMLPhysicalPlanPrinter<P>

public class XMLPhysicalPlanPrinter<P extends OperatorPlan<PhysicalOperator>>
extends PhyPlanVisitor


Field Summary
 
Fields inherited from class org.apache.pig.impl.plan.PlanVisitor
mCurrentWalker, mPlan
 
Constructor Summary
XMLPhysicalPlanPrinter(PhysicalPlan plan, Document doc, Element parent)
           
 
Method Summary
protected  void depthFirstPP(Element parentNode)
           
 void print(OutputStream printer)
           
 void visit()
          Entry point for visiting the plan.
 
Methods inherited from class org.apache.pig.backend.hadoop.executionengine.physicalLayer.plans.PhyPlanVisitor
visitAdd, visitAnd, visitBinCond, visitCast, visitCollectedGroup, visitComparisonFunc, visitConstant, visitCounter, visitCross, visitDemux, visitDistinct, visitDivide, visitEqualTo, visitFilter, visitFRJoin, visitGlobalRearrange, visitGreaterThan, visitGTOrEqual, visitIsNull, visitLessThan, visitLimit, visitLoad, visitLocalRearrange, visitLTOrEqual, visitMapLookUp, visitMergeCoGroup, visitMergeJoin, visitMod, visitMultiply, visitNative, visitNegative, visitNot, visitNotEqualTo, visitOr, visitPackage, visitPartialAgg, visitPartitionRearrange, visitPOForEach, visitPOOptimizedForEach, visitPreCombinerLocalRearrange, visitProject, visitRank, visitRegexp, visitSkewedJoin, visitSort, visitSplit, visitStore, visitStream, visitSubtract, visitUnion, visitUserFunc
 
Methods inherited from class org.apache.pig.impl.plan.PlanVisitor
getPlan, popWalker, pushWalker
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLPhysicalPlanPrinter

public XMLPhysicalPlanPrinter(PhysicalPlan plan,
                              Document doc,
                              Element parent)
Method Detail

visit

public void visit()
           throws VisitorException
Description copied from class: PlanVisitor
Entry point for visiting the plan.

Overrides:
visit in class PlanVisitor<PhysicalOperator,PhysicalPlan>
Throws:
VisitorException - if an error is encountered while visiting.

print

public void print(OutputStream printer)
           throws VisitorException,
                  IOException
Throws:
VisitorException
IOException

depthFirstPP

protected void depthFirstPP(Element parentNode)
                     throws VisitorException
Throws:
VisitorException


Copyright © 2007-2012 The Apache Software Foundation