org.apache.pig.impl.logicalLayer
Class ProjectStarTranslator
java.lang.Object
org.apache.pig.impl.plan.PlanVisitor<LogicalOperator,LogicalPlan>
org.apache.pig.impl.logicalLayer.LOVisitor
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)
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectStarTranslator
public ProjectStarTranslator(LogicalPlan plan)
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(LOFRJoin frj)
throws VisitorException
- Overrides:
visit
in class LOVisitor
- 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