org.apache.pig.experimental.logical
Class LogicalPlanMigrationVistor

java.lang.Object
  extended by org.apache.pig.impl.plan.PlanVisitor<LogicalOperator,LogicalPlan>
      extended by org.apache.pig.impl.logicalLayer.LOVisitor
          extended by org.apache.pig.experimental.logical.LogicalPlanMigrationVistor

public class LogicalPlanMigrationVistor
extends LOVisitor

Translate old logical plan into new logical plan


Nested Class Summary
 class LogicalPlanMigrationVistor.ForeachInnerPlanVisitor
           
 class LogicalPlanMigrationVistor.LogicalExpPlanMigrationVistor
           
 
Field Summary
 
Fields inherited from class org.apache.pig.impl.plan.PlanVisitor
mCurrentWalker, mPlan
 
Constructor Summary
LogicalPlanMigrationVistor(LogicalPlan plan)
           
 
Method Summary
 LogicalPlan getNewLogicalPlan()
           
 void visit(LOCogroup cg)
           
 void visit(LOCross cs)
           
 void visit(LODistinct dt)
           
 void visit(LOFilter filter)
           
 void visit(LOForEach forEach)
           
 void visit(LOGenerate g)
           
 void visit(LOJoin loj)
           
 void visit(LOLimit limOp)
           
 void visit(LOLoad load)
           
 void visit(LOSort s)
           
 void visit(LOSplit split)
           
 void visit(LOSplitOutput splitOutput)
           
 void visit(LOStore store)
           
 void visit(LOStream stream)
           
 void visit(LOUnion union)
           
 
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 org.apache.pig.impl.plan.PlanVisitor
getPlan, popWalker, pushWalker, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogicalPlanMigrationVistor

public LogicalPlanMigrationVistor(LogicalPlan plan)
Method Detail

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(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 s)
           throws VisitorException
Overrides:
visit in class LOVisitor
Parameters:
s - the logical sort operator that has to be visited
Throws:
VisitorException

visit

public void visit(LOLimit limOp)
           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 dt)
           throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

public void visit(LOCross cs)
           throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException


Copyright © ${year} The Apache Software Foundation