org.apache.pig.backend.hadoop.executionengine.mapReduceLayer
Class SecondaryKeyOptimizer
java.lang.Object
org.apache.pig.impl.plan.PlanVisitor<MapReduceOper,MROperPlan>
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.plans.MROpPlanVisitor
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.SecondaryKeyOptimizer
public class SecondaryKeyOptimizer
- extends MROpPlanVisitor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecondaryKeyOptimizer
public SecondaryKeyOptimizer(MROperPlan plan)
- Parameters:
plan
- The MROperPlan to visit to discover keyType
visitMROp
public void visitMROp(MapReduceOper mr)
throws VisitorException
- Overrides:
visitMROp
in class MROpPlanVisitor
- Throws:
VisitorException
getNumMRUseSecondaryKey
public int getNumMRUseSecondaryKey()
getNumSortRemoved
public int getNumSortRemoved()
getDistinctChanged
public int getDistinctChanged()
Copyright © 2007-2012 The Apache Software Foundation