org.apache.pig.newplan.logical
Class LogicalPlanMigrationVistor
java.lang.Object
org.apache.pig.impl.plan.PlanVisitor<LogicalOperator,LogicalPlan>
org.apache.pig.impl.logicalLayer.LOVisitor
org.apache.pig.newplan.logical.LogicalPlanMigrationVistor
public class LogicalPlanMigrationVistor
- extends LOVisitor
Translate old logical plan into new 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogicalPlanMigrationVistor
public LogicalPlanMigrationVistor(LogicalPlan plan)
getNewLogicalPlan
public LogicalPlan getNewLogicalPlan()
visit
public void visit(LOCogroup cg)
throws VisitorException
- Overrides:
visit
in class LOVisitor
- Parameters:
cg
- the logical cogroup operator that has to be visited
- Throws:
VisitorException
visit
public void visit(LOJoin loj)
throws VisitorException
- Overrides:
visit
in class LOVisitor
- Parameters:
loj
- the logical join operator that has to be visited
- Throws:
VisitorException
visit
public void visit(LOCross cross)
throws VisitorException
- Overrides:
visit
in class LOVisitor
- Throws:
VisitorException
visit
public void visit(LOForEach forEach)
throws VisitorException
- Overrides:
visit
in class LOVisitor
- Parameters:
forEach
- the logical foreach operator that has to be visited
- Throws:
VisitorException
visit
public void visit(LOSort sort)
throws VisitorException
- Overrides:
visit
in class LOVisitor
- Parameters:
sort
- the logical sort operator that has to be visited
- Throws:
VisitorException
visit
public void visit(LOLimit limit)
throws VisitorException
- Overrides:
visit
in class LOVisitor
- Throws:
VisitorException
visit
public void visit(LOStream stream)
throws VisitorException
- Overrides:
visit
in class LOVisitor
- Throws:
VisitorException
visit
public void visit(LOFilter filter)
throws VisitorException
- Overrides:
visit
in class LOVisitor
- Parameters:
filter
- the logical filter operator that has to be visited
- Throws:
VisitorException
visit
public void visit(LOSplit split)
throws VisitorException
- Overrides:
visit
in class LOVisitor
- Parameters:
split
- the logical split operator that has to be visited
- Throws:
VisitorException
visit
public void visit(LOGenerate g)
throws VisitorException
- Overrides:
visit
in class LOVisitor
- Parameters:
g
- the logical generate operator that has to be visited
- Throws:
VisitorException
visit
public void visit(LOLoad load)
throws VisitorException
- Overrides:
visit
in class LOVisitor
- Throws:
VisitorException
visit
public void visit(LOStore store)
throws VisitorException
- Overrides:
visit
in class LOVisitor
- Throws:
VisitorException
visit
public void visit(LOUnion union)
throws VisitorException
- Overrides:
visit
in class LOVisitor
- Throws:
VisitorException
visit
public void visit(LOSplitOutput splitOutput)
throws VisitorException
- Overrides:
visit
in class LOVisitor
- Throws:
VisitorException
visit
public void visit(LODistinct distinct)
throws VisitorException
- Overrides:
visit
in class LOVisitor
- Throws:
VisitorException
visit
public void visit(LONative nativeMR)
throws VisitorException
- Overrides:
visit
in class LOVisitor
- Throws:
VisitorException
Copyright © ${year} The Apache Software Foundation