org.apache.pig.newplan.logical
Class LogicalExpPlanMigrationVistor

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.LogicalExpPlanMigrationVistor
Direct Known Subclasses:
ForeachInnerPlanVisitor

public class LogicalExpPlanMigrationVistor
extends LOVisitor


Field Summary
protected  LogicalRelationalOperator attachedRelationalOp
           
protected  HashMap<LogicalOperator,LogicalExpression> exprOpsMap
           
protected  LogicalExpressionPlan exprPlan
           
protected  LogicalOperator oldAttachedRelationalOp
           
protected  LogicalPlan outerPlan
           
 
Fields inherited from class org.apache.pig.impl.plan.PlanVisitor
mCurrentWalker, mPlan
 
Constructor Summary
LogicalExpPlanMigrationVistor(LogicalPlan expressionPlan, LogicalOperator oldAttachedOperator, LogicalRelationalOperator attachedOperator, LogicalPlan outerPlan, Map<LogicalOperator,LogicalRelationalOperator> outerOpsMap)
           
 
Method Summary
 void visit(LOAdd binOp)
           
 void visit(LOAnd binOp)
           
 void visit(LOBinCond op)
           
 void visit(LOCast cast)
           
 void visit(LOConst con)
           
 void visit(LODivide binOp)
           
 void visit(LOEqual op)
           
 void visit(LOGreaterThan op)
           
 void visit(LOGreaterThanEqual op)
           
 void visit(LOIsNull uniOp)
           
 void visit(LOLesserThan op)
           
 void visit(LOLesserThanEqual op)
           
 void visit(LOMapLookup colOp)
           
 void visit(LOMod binOp)
           
 void visit(LOMultiply binOp)
           
 void visit(LONegative uniOp)
           
 void visit(LONot uniOp)
           
 void visit(LONotEqual op)
           
 void visit(LOOr binOp)
           
 void visit(LOProject project)
           
 void visit(LORegexp binOp)
           
 void visit(LOSubtract binOp)
           
 void visit(LOUserFunc op)
          Iterate over each expression that is part of the function argument list
 
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
 
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
 

Field Detail

exprPlan

protected LogicalExpressionPlan exprPlan

exprOpsMap

protected HashMap<LogicalOperator,LogicalExpression> exprOpsMap

attachedRelationalOp

protected LogicalRelationalOperator attachedRelationalOp

oldAttachedRelationalOp

protected LogicalOperator oldAttachedRelationalOp

outerPlan

protected LogicalPlan outerPlan
Constructor Detail

LogicalExpPlanMigrationVistor

public LogicalExpPlanMigrationVistor(LogicalPlan expressionPlan,
                                     LogicalOperator oldAttachedOperator,
                                     LogicalRelationalOperator attachedOperator,
                                     LogicalPlan outerPlan,
                                     Map<LogicalOperator,LogicalRelationalOperator> outerOpsMap)
Method Detail

visit

public void visit(LOProject project)
           throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException

visit

public void visit(LOConst con)
           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(LOLesserThan 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(LOLesserThanEqual 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(LOUserFunc op)
           throws VisitorException
Description copied from class: LOVisitor
Iterate over each expression that is part of the function argument list

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

visit

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

visit

public 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

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

visit

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

visit

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

visit

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

visit

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

visit

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

visit

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

visit

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

visit

public void visit(LOMapLookup colOp)
           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(LOOr binOp)
           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(LOIsNull uniOp)
           throws VisitorException
Overrides:
visit in class LOVisitor
Throws:
VisitorException


Copyright © ${year} The Apache Software Foundation