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,
PrintStream stream) |
Modifier and Type | Method and Description |
---|---|
protected void |
breadthFirst() |
protected String |
depthFirstPP() |
void |
print(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, 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(OutputStream printer) throws VisitorException, IOException
VisitorException
IOException
protected void breadthFirst() throws VisitorException
VisitorException
protected 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-2017 The Apache Software Foundation