public class PlanPrinter<O extends Operator,P extends OperatorPlan<O>> extends PlanVisitor<O,P>
mCurrentWalker, mPlan
Constructor and Description |
---|
PlanPrinter(P plan) |
PlanPrinter(P plan,
java.io.PrintStream stream) |
Modifier and Type | Method and Description |
---|---|
protected void |
breadthFirst() |
protected java.lang.String |
depthFirstPP() |
void |
print(java.io.OutputStream printer) |
void |
setVerbose(boolean verbose) |
void |
visit()
Entry point for visiting the plan.
|
void |
visitFilter(POFilter op) |
void |
visitGlobalRearrange(POGlobalRearrange op) |
void |
visitLoad(POLoad op) |
void |
visitLocalRearrange(POLocalRearrange op) |
void |
visitPackage(POPackage op) |
void |
visitStartMap(POUnion op) |
void |
visitStore(POStore op) |
getPlan, popWalker, pushWalker
public PlanPrinter(P plan)
public PlanPrinter(P plan, java.io.PrintStream stream)
public void setVerbose(boolean verbose)
public void visit() throws VisitorException
PlanVisitor
visit
in class PlanVisitor<O extends Operator,P extends OperatorPlan<O>>
VisitorException
- if an error is encountered while visiting.public void print(java.io.OutputStream printer) throws VisitorException, java.io.IOException
VisitorException
java.io.IOException
protected void breadthFirst() throws VisitorException
VisitorException
protected java.lang.String depthFirstPP() throws VisitorException
VisitorException
public void visitLoad(POLoad op)
public void visitStore(POStore op)
public void visitFilter(POFilter op)
public void visitLocalRearrange(POLocalRearrange op)
public void visitGlobalRearrange(POGlobalRearrange op)
public void visitPackage(POPackage op)
public void visitStartMap(POUnion op)
Copyright © 2007-2012 The Apache Software Foundation