org.apache.pig.impl.plan.optimizer
Class RulePlanPrinter
java.lang.Object
org.apache.pig.impl.plan.PlanVisitor<RuleOperator,RulePlan>
org.apache.pig.impl.plan.optimizer.RulePlanVisitor
org.apache.pig.impl.plan.optimizer.RulePlanPrinter
public class RulePlanPrinter
- extends RulePlanVisitor
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 |
RulePlanPrinter
public RulePlanPrinter(PrintStream ps,
RulePlan 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<RuleOperator,RulePlan>
- Throws:
VisitorException
- if an error is encountered while visiting.
print
public void print(OutputStream printer)
throws VisitorException,
IOException
- Throws:
VisitorException
IOException
depthFirst
protected String depthFirst()
throws VisitorException,
IOException
- Throws:
VisitorException
IOException
Copyright © ${year} The Apache Software Foundation