org.apache.pig.newplan.logical.optimizer
Class LogicalPlanPrinter
java.lang.Object
org.apache.pig.newplan.PlanVisitor
org.apache.pig.newplan.logical.optimizer.LogicalPlanPrinter
public class LogicalPlanPrinter
- extends PlanVisitor
A visitor mechanism printing out the logical plan.
Method Summary |
protected void |
depthFirstLP()
|
void |
visit()
Entry point for visiting the plan. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SEPERATE
public static String SEPERATE
tabs
protected ArrayList<byte[]> tabs
reverse
protected boolean reverse
LogicalPlanPrinter
public LogicalPlanPrinter(OperatorPlan plan,
PrintStream ps)
throws FrontendException
- Parameters:
ps
- PrintStream to output plan information toplan
- Logical plan to print
- Throws:
FrontendException
visit
public void visit()
throws FrontendException
- Description copied from class:
PlanVisitor
- Entry point for visiting the plan.
- Overrides:
visit
in class PlanVisitor
- Throws:
VisitorException
- if an error is encountered while visiting.
FrontendException
depthFirstLP
protected void depthFirstLP()
throws FrontendException,
IOException
- Throws:
FrontendException
IOException
Copyright © 2007-2012 The Apache Software Foundation