|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.mapreduce.lib.aggregate.StringValueMax
@InterfaceAudience.Public @InterfaceStability.Stable public class StringValueMax
This class implements a value aggregator that maintain the biggest of a sequence of strings.
Constructor Summary | |
---|---|
StringValueMax()
the default constructor |
Method Summary | |
---|---|
void |
addNextValue(Object val)
add a value to the aggregator |
ArrayList<String> |
getCombinerOutput()
|
String |
getReport()
|
String |
getVal()
|
void |
reset()
reset the aggregator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringValueMax()
Method Detail |
---|
public void addNextValue(Object val)
addNextValue
in interface ValueAggregator<String>
val
- a string.public String getVal()
public String getReport()
getReport
in interface ValueAggregator<String>
public void reset()
reset
in interface ValueAggregator<String>
public ArrayList<String> getCombinerOutput()
getCombinerOutput
in interface ValueAggregator<String>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |