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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SEPERATE
public static String SEPERATE
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:
FrontendException
depthFirstLP
protected String depthFirstLP()
throws FrontendException,
IOException
- Throws:
FrontendException
IOException
reverseDepthFirstLP
protected String reverseDepthFirstLP()
throws FrontendException,
IOException
- Throws:
FrontendException
IOException
Copyright © 2012 The Apache Software Foundation