org.apache.pig.experimental.logical.optimizer
Class PlanPrinter
java.lang.Object
org.apache.pig.experimental.plan.PlanVisitor
org.apache.pig.experimental.logical.relational.LogicalPlanVisitor
org.apache.pig.experimental.logical.optimizer.AllExpressionVisitor
org.apache.pig.experimental.logical.optimizer.PlanPrinter
public class PlanPrinter
- extends AllExpressionVisitor
stream
protected PrintStream stream
level
protected int level
PlanPrinter
public PlanPrinter(OperatorPlan plan,
PrintStream ps)
getVisitor
protected LogicalExpressionVisitor getVisitor(LogicalExpressionPlan expr)
- Description copied from class:
AllExpressionVisitor
- Get a new instance of the expression visitor to apply to
a given expression.
- Specified by:
getVisitor
in class AllExpressionVisitor
- Parameters:
expr
- LogicalExpressionPlan that will be visited
- Returns:
- a new LogicalExpressionVisitor for that expression
visitLOLoad
public void visitLOLoad(LOLoad op)
throws IOException
- Overrides:
visitLOLoad
in class LogicalPlanVisitor
- Throws:
IOException
visitLOStore
public void visitLOStore(LOStore op)
throws IOException
- Overrides:
visitLOStore
in class LogicalPlanVisitor
- Throws:
IOException
visitLOForEach
public void visitLOForEach(LOForEach op)
throws IOException
- Overrides:
visitLOForEach
in class AllExpressionVisitor
- Throws:
IOException
visitLOFilter
public void visitLOFilter(LOFilter op)
throws IOException
- Overrides:
visitLOFilter
in class AllExpressionVisitor
- Throws:
IOException
visitLOGenerate
public void visitLOGenerate(LOGenerate op)
throws IOException
- Overrides:
visitLOGenerate
in class AllExpressionVisitor
- Throws:
IOException
visitLOInnerLoad
public void visitLOInnerLoad(LOInnerLoad op)
throws IOException
- Overrides:
visitLOInnerLoad
in class AllExpressionVisitor
- Throws:
IOException
visitLOCogroup
public void visitLOCogroup(LOCogroup op)
throws IOException
- Overrides:
visitLOCogroup
in class AllExpressionVisitor
- Throws:
IOException
visitLOSplitOutput
public void visitLOSplitOutput(LOSplitOutput op)
throws IOException
- Overrides:
visitLOSplitOutput
in class AllExpressionVisitor
- Throws:
IOException
visitLOSplit
public void visitLOSplit(LOSplit op)
throws IOException
- Overrides:
visitLOSplit
in class LogicalPlanVisitor
- Throws:
IOException
visitLOUnion
public void visitLOUnion(LOUnion op)
throws IOException
- Overrides:
visitLOUnion
in class LogicalPlanVisitor
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © ${year} The Apache Software Foundation