org.apache.pig.impl.logicalLayer
Class ProjectStarTranslator

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.impl.logicalLayer.ProjectStarTranslator

public class ProjectStarTranslator
extends LOVisitor

A visitor to walk operators that contain a nested plan and translate project( * ) operators to a list of projection operators, i.e., project( * ) -> project(0), project(1), ... project(n-2), project(n-1)


Field Summary
 
Fields inherited from class org.apache.pig.impl.plan.PlanVisitor
mCurrentWalker, mPlan
 
Constructor Summary
ProjectStarTranslator(LogicalPlan plan)
           
 
Method Summary
protected  void visit(LOCogroup cg)
           
protected  void visit(LOForEach forEach)
           
protected  void visit(LOJoin join)
           
protected  void visit(LOSort s)
           
 
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, 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

ProjectStarTranslator

public ProjectStarTranslator(LogicalPlan plan)
Method Detail

visit

protected 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

protected void visit(LOJoin join)
              throws VisitorException
Overrides:
visit in class LOVisitor
Parameters:
join - the logical join operator that has to be visited
Throws:
VisitorException

visit

protected 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

protected void visit(LOSort s)
              throws VisitorException
Overrides:
visit in class LOVisitor
Parameters:
s - the logical sort operator that has to be visited
Throws:
VisitorException


Copyright © ${year} The Apache Software Foundation