org.apache.pig.newplan.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.newplan.logical.LogicalPlanMigrationVistor

public class LogicalPlanMigrationVistor
extends LOVisitor

Translate old logical plan into new logical plan


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 cross)
           
 void visit(LODistinct distinct)
           
 void visit(LOFilter filter)
           
 void visit(LOForEach forEach)
           
 void visit(LOGenerate g)
           
 void visit(LOJoin loj)
           
 void visit(LOLimit limit)
           
 void visit(LOLoad load)
           
 void visit(LONative nativeMR)
           
 void visit(LOSort sort)
           
 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(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