org.apache.pig.impl.logicalLayer.optimizer
Class SchemaRemover

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.optimizer.SchemaRemover

public class SchemaRemover
extends LOVisitor

A visitor to reset all the schemas in a logical plan.


Field Summary
 
Fields inherited from class org.apache.pig.impl.plan.PlanVisitor
mCurrentWalker, mPlan
 
Constructor Summary
SchemaRemover(LogicalPlan plan)
           
 
Method Summary
protected  void visit(BinaryExpressionOperator binOp)
           
protected  void visit(ExpressionOperator op)
           
 void visit(LOAdd op)
           
 void visit(LOAnd binOp)
           
protected  void visit(LOBinCond binCond)
           
protected  void visit(LOCast cast)
           
protected  void visit(LOCogroup cg)
           
protected  void visit(LOConst c)
           
protected  void visit(LOCross cs)
           
protected  void visit(LODistinct dt)
           
 void visit(LODivide op)
           
 void visit(LOEqual op)
           
protected  void visit(LOFilter filter)
           
protected  void visit(LOForEach forEach)
           
 void visit(LOGreaterThan op)
           
 void visit(LOGreaterThanEqual op)
           
 void visit(LOIsNull uniOp)
           
protected  void visit(LOJoin join)
           
 void visit(LOLesserThan op)
           
 void visit(LOLesserThanEqual op)
           
protected  void visit(LOLimit limit)
           
protected  void visit(LOLoad load)
           
 void visit(LOMapLookup op)
           
 void visit(LOMod op)
           
 void visit(LOMultiply op)
           
 void visit(LONegative op)
           
 void visit(LONot uniOp)
           
 void visit(LONotEqual op)
           
 void visit(LOOr binOp)
           
protected  void visit(LOProject project)
           
protected  void visit(LORegexp regexp)
           
protected  void visit(LOSort s)
           
protected  void visit(LOSplit split)
           
protected  void visit(LOSplitOutput sop)
           
protected  void visit(LOStore store)
           
 void visit(LOSubtract op)
           
protected  void visit(LOUnion u)
           
protected  void visit(LOUserFunc func)
          Iterate over each expression that is part of the function argument list
protected  void visit(UnaryExpressionOperator uniOp)
           
 
Methods inherited from class org.apache.pig.impl.logicalLayer.LOVisitor
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

SchemaRemover

public SchemaRemover(LogicalPlan plan)
Method Detail

visit

protected void visit(BinaryExpressionOperator binOp)
              throws VisitorException
Overrides:
visit in class LOVisitor
Parameters:
binOp - the logical binary expression operator that has to be visited
Throws:
VisitorException

visit

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

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

visit

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

visit

protected 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

protected 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

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(LOUserFunc func)
              throws VisitorException
Iterate over each expression that is part of the function argument list

Overrides:
visit in class LOVisitor
Parameters:
func - the user defined function
Throws:
VisitorException

visit

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

visit

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

visit

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

visit

protected void visit(LOLoad load)
              throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

protected void visit(LOStore store)
              throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

protected void visit(LOConst c)
              throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

protected void visit(LOUnion u)
              throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

protected void visit(LOSplitOutput sop)
              throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

protected void visit(LODistinct dt)
              throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

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

visit

protected void visit(LOProject project)
              throws VisitorException
Overrides:
visit in class LOVisitor
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(ExpressionOperator op)
              throws VisitorException
Overrides:
visit in class LOVisitor
Parameters:
op - the logical expression operator that has to be visited
Throws:
VisitorException

visit

public void visit(LOAdd op)
           throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

public void visit(LOAnd binOp)
           throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

public void visit(LODivide op)
           throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

public void visit(LOEqual op)
           throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

public void visit(LOGreaterThan op)
           throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

public void visit(LOGreaterThanEqual op)
           throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

public void visit(LOIsNull uniOp)
           throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

public void visit(LOLesserThan op)
           throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

public void visit(LOLesserThanEqual op)
           throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

public void visit(LOMapLookup op)
           throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

public void visit(LOMod op)
           throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

public void visit(LOMultiply op)
           throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

public void visit(LONegative op)
           throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

public void visit(LONot uniOp)
           throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

public void visit(LONotEqual op)
           throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

public void visit(LOOr binOp)
           throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

public void visit(LOSubtract op)
           throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException


Copyright © ${year} The Apache Software Foundation