org.apache.pig.newplan.logical.rules
Class MapKeysPruneHelper.FullMapCollector

java.lang.Object
  extended by org.apache.pig.newplan.PlanVisitor
      extended by org.apache.pig.newplan.logical.relational.LogicalRelationalNodesVisitor
          extended by org.apache.pig.newplan.logical.optimizer.AllExpressionVisitor
              extended by org.apache.pig.newplan.logical.rules.MapKeysPruneHelper.FullMapCollector
Enclosing class:
MapKeysPruneHelper

public static class MapKeysPruneHelper.FullMapCollector
extends AllExpressionVisitor


Field Summary
 
Fields inherited from class org.apache.pig.newplan.logical.optimizer.AllExpressionVisitor
currentOp, exprVisitor
 
Fields inherited from class org.apache.pig.newplan.PlanVisitor
currentWalker, DEFAULT_SCOPE, plan
 
Constructor Summary
protected MapKeysPruneHelper.FullMapCollector(OperatorPlan plan, Set<Long> fullMapUids)
           
 
Method Summary
protected  LogicalExpressionVisitor getVisitor(LogicalExpressionPlan expr)
          Get a new instance of the expression visitor to apply to a given expression.
 void visit(LOCogroup cogroup)
           
 void visit(LOSplitOutput splitOutput)
           
 void visit(LOStore store)
           
 void visit(LOUnion union)
           
 
Methods inherited from class org.apache.pig.newplan.logical.optimizer.AllExpressionVisitor
visit, visit, visit, visit, visit, visit
 
Methods inherited from class org.apache.pig.newplan.logical.relational.LogicalRelationalNodesVisitor
visit, visit, visit, visit, visit, visit, visit
 
Methods inherited from class org.apache.pig.newplan.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

MapKeysPruneHelper.FullMapCollector

protected MapKeysPruneHelper.FullMapCollector(OperatorPlan plan,
                                              Set<Long> fullMapUids)
                                       throws FrontendException
Throws:
FrontendException
Method Detail

visit

public void visit(LOStore store)
           throws FrontendException
Overrides:
visit in class LogicalRelationalNodesVisitor
Throws:
FrontendException

visit

public void visit(LOUnion union)
           throws FrontendException
Overrides:
visit in class LogicalRelationalNodesVisitor
Throws:
FrontendException

visit

public void visit(LOCogroup cogroup)
           throws FrontendException
Overrides:
visit in class AllExpressionVisitor
Throws:
FrontendException

visit

public void visit(LOSplitOutput splitOutput)
           throws FrontendException
Overrides:
visit in class AllExpressionVisitor
Throws:
FrontendException

getVisitor

protected LogicalExpressionVisitor getVisitor(LogicalExpressionPlan expr)
                                       throws FrontendException
Description copied from class: AllExpressionVisitor
Get a new instance of the expression visitor to apply to a given expression.

Specified by:
getVisitor in class AllExpressionVisitor
Parameters:
expr - LogicalExpressionPlan that will be visited
Returns:
a new LogicalExpressionVisitor for that expression
Throws:
FrontendException


Copyright © ${year} The Apache Software Foundation