org.apache.pig.experimental.logical.rules
Class MapKeysPruneHelper.MapMarker

java.lang.Object
  extended by org.apache.pig.experimental.plan.PlanVisitor
      extended by org.apache.pig.experimental.logical.relational.LogicalPlanVisitor
          extended by org.apache.pig.experimental.logical.optimizer.AllExpressionVisitor
              extended by org.apache.pig.experimental.logical.rules.MapKeysPruneHelper.MapMarker
Enclosing class:
MapKeysPruneHelper

public static class MapKeysPruneHelper.MapMarker
extends AllExpressionVisitor

This class collects all the information required to create the list of keys required for a map


Field Summary
 
Fields inherited from class org.apache.pig.experimental.logical.optimizer.AllExpressionVisitor
currentOp, exprVisitor
 
Fields inherited from class org.apache.pig.experimental.plan.PlanVisitor
currentWalker, DEFAULT_SCOPE, plan
 
Constructor Summary
protected MapKeysPruneHelper.MapMarker(OperatorPlan plan)
           
 
Method Summary
protected  LogicalExpressionVisitor getVisitor(LogicalExpressionPlan expr)
          Get a new instance of the expression visitor to apply to a given expression.
 void visitLOFilter(LOFilter filter)
           
 void visitLOGenerate(LOGenerate gen)
           
 void visitLOJoin(LOJoin join)
           
 void visitLOLoad(LOLoad load)
           
 
Methods inherited from class org.apache.pig.experimental.logical.optimizer.AllExpressionVisitor
visitLOCogroup, visitLOForEach, visitLOInnerLoad, visitLOSplitOutput
 
Methods inherited from class org.apache.pig.experimental.logical.relational.LogicalPlanVisitor
visitLOSplit, visitLOStore, visitLOUnion
 
Methods inherited from class org.apache.pig.experimental.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

MapKeysPruneHelper.MapMarker

protected MapKeysPruneHelper.MapMarker(OperatorPlan plan)
Method Detail

visitLOLoad

public void visitLOLoad(LOLoad load)
                 throws IOException
Overrides:
visitLOLoad in class LogicalPlanVisitor
Throws:
IOException

visitLOFilter

public void visitLOFilter(LOFilter filter)
                   throws IOException
Overrides:
visitLOFilter in class AllExpressionVisitor
Throws:
IOException

visitLOJoin

public void visitLOJoin(LOJoin join)
                 throws IOException
Overrides:
visitLOJoin in class AllExpressionVisitor
Throws:
IOException

visitLOGenerate

public void visitLOGenerate(LOGenerate gen)
                     throws IOException
Overrides:
visitLOGenerate in class AllExpressionVisitor
Throws:
IOException

getVisitor

protected LogicalExpressionVisitor getVisitor(LogicalExpressionPlan expr)
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


Copyright © ${year} The Apache Software Foundation