org.apache.pig.impl.logicalLayer
Class LOPrinter
java.lang.Object
org.apache.pig.impl.plan.PlanVisitor<LogicalOperator,LogicalPlan>
org.apache.pig.impl.logicalLayer.LOVisitor
org.apache.pig.impl.logicalLayer.LOPrinter
public class LOPrinter
- extends LOVisitor
A visitor mechanism printing out the logical plan.
Methods inherited from class org.apache.pig.impl.logicalLayer.LOVisitor |
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOPrinter
public LOPrinter(PrintStream ps,
LogicalPlan plan)
- Parameters:
ps
- PrintStream to output plan information toplan
- Logical plan to print
visit
public void visit()
throws VisitorException
- Description copied from class:
PlanVisitor
- Entry point for visiting the plan.
- Overrides:
visit
in class PlanVisitor<LogicalOperator,LogicalPlan>
- Throws:
VisitorException
- if an error is encountered while visiting.
setVerbose
public void setVerbose(boolean verbose)
print
public void print(OutputStream printer)
throws VisitorException,
IOException
- Throws:
VisitorException
IOException
depthFirstLP
protected String depthFirstLP()
throws VisitorException,
IOException
- Throws:
VisitorException
IOException
Copyright © ${year} The Apache Software Foundation