|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pig.impl.plan.PlanVisitor<LogicalOperator,LogicalPlan>
org.apache.pig.impl.logicalLayer.LOVisitor
org.apache.pig.impl.logicalLayer.LOPrinter
public class LOPrinter
A visitor mechanism printing out the logical plan.
Field Summary |
---|
Fields inherited from class org.apache.pig.impl.plan.PlanVisitor |
---|
mCurrentWalker, mPlan |
Constructor Summary | |
---|---|
LOPrinter(PrintStream ps,
LogicalPlan plan)
|
Method Summary | |
---|---|
protected String |
depthFirstLP()
|
void |
print(OutputStream printer)
|
void |
setVerbose(boolean verbose)
|
void |
visit()
Entry point for visiting the 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, visit |
Methods inherited from class org.apache.pig.impl.plan.PlanVisitor |
---|
getPlan, popWalker, pushWalker |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LOPrinter(PrintStream ps, LogicalPlan plan)
ps
- PrintStream to output plan information toplan
- Logical plan to printMethod Detail |
---|
public void visit() throws VisitorException
PlanVisitor
visit
in class PlanVisitor<LogicalOperator,LogicalPlan>
VisitorException
- if an error is encountered while visiting.public void setVerbose(boolean verbose)
public void print(OutputStream printer) throws VisitorException, IOException
VisitorException
IOException
protected String depthFirstLP() throws VisitorException, IOException
VisitorException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |