org.apache.pig.backend.hadoop.executionengine.physicalLayer.plans
Class PlanPrinter<O extends Operator,P extends OperatorPlan<O>>
java.lang.Object
org.apache.pig.impl.plan.PlanVisitor<O,P>
org.apache.pig.backend.hadoop.executionengine.physicalLayer.plans.PlanPrinter<O,P>
public class PlanPrinter<O extends Operator,P extends OperatorPlan<O>>
- extends PlanVisitor<O,P>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlanPrinter
public PlanPrinter(P plan)
PlanPrinter
public PlanPrinter(P plan,
PrintStream stream)
setVerbose
public void setVerbose(boolean verbose)
visit
public void visit()
throws VisitorException
- Description copied from class:
PlanVisitor
- Entry point for visiting the plan.
- Overrides:
visit
in class PlanVisitor<O extends Operator,P extends OperatorPlan<O>>
- Throws:
VisitorException
- if an error is encountered while visiting.
print
public void print(OutputStream printer)
throws VisitorException,
IOException
- Throws:
VisitorException
IOException
breadthFirst
protected void breadthFirst()
throws VisitorException
- Throws:
VisitorException
depthFirstPP
protected String depthFirstPP()
throws VisitorException
- Throws:
VisitorException
visitLoad
public void visitLoad(POLoad op)
visitStore
public void visitStore(POStore op)
visitFilter
public void visitFilter(POFilter op)
visitLocalRearrange
public void visitLocalRearrange(POLocalRearrange op)
visitGlobalRearrange
public void visitGlobalRearrange(POGlobalRearrange op)
visitPackage
public void visitPackage(POPackage op)
visitStartMap
public void visitStartMap(POUnion op)
Copyright © 2007-2012 The Apache Software Foundation