@InterfaceAudience.Private public class SecondaryKeyOptimizerMR extends MROpPlanVisitor implements SecondaryKeyOptimizer
mCurrentWalker, mPlan
Constructor and Description |
---|
SecondaryKeyOptimizerMR(MROperPlan plan) |
Modifier and Type | Method and Description |
---|---|
int |
getNumDistinctChanged() |
int |
getNumSortRemoved() |
int |
getNumUseSecondaryKey() |
void |
visitMROp(MapReduceOper mr) |
getPlan, popWalker, pushWalker, visit
public SecondaryKeyOptimizerMR(MROperPlan plan)
plan
- The MROperPlan to visit to discover keyTypepublic void visitMROp(MapReduceOper mr) throws VisitorException
visitMROp
in class MROpPlanVisitor
VisitorException
public int getNumSortRemoved()
getNumSortRemoved
in interface SecondaryKeyOptimizer
public int getNumDistinctChanged()
getNumDistinctChanged
in interface SecondaryKeyOptimizer
public int getNumUseSecondaryKey()
getNumUseSecondaryKey
in interface SecondaryKeyOptimizer
Copyright © 2007-2012 The Apache Software Foundation