public class ValueHistogram extends Object implements ValueAggregator
构造器和说明 |
---|
ValueHistogram() |
限定符和类型 | 方法和说明 |
---|---|
void |
addNextValue(Object val)
add the given val to the aggregator.
|
ArrayList |
getCombinerOutput() |
String |
getReport() |
String |
getReportDetails() |
TreeMap |
getReportItems() |
void |
reset()
reset the aggregator
|
public void addNextValue(Object val)
addNextValue
在接口中 ValueAggregator
val
- the value to be added. It is expected to be a string
in the form of xxxx\tnum, meaning xxxx has num occurrences.public String getReport()
getReport
在接口中 ValueAggregator
public String getReportDetails()
public ArrayList getCombinerOutput()
getCombinerOutput
在接口中 ValueAggregator
public TreeMap getReportItems()
public void reset()
reset
在接口中 ValueAggregator
Copyright © 2009 The Apache Software Foundation