public static class AggregateWordHistogram.AggregateWordHistogramPlugin extends ValueAggregatorBaseDescriptor
DOUBLE_VALUE_SUM, inputFile, LONG_VALUE_MAX, LONG_VALUE_MIN, LONG_VALUE_SUM, STRING_VALUE_MAX, STRING_VALUE_MIN, UNIQ_VALUE_COUNT, VALUE_HISTOGRAM
ONE, TYPE_SEPARATOR
构造器和说明 |
---|
AggregateWordHistogram.AggregateWordHistogramPlugin() |
限定符和类型 | 方法和说明 |
---|---|
ArrayList<Map.Entry<Text,Text>> |
generateKeyValPairs(Object key,
Object val)
Parse the given value, generate an aggregation-id/value pair per word.
|
configure, generateEntry, generateValueAggregator
public AggregateWordHistogram.AggregateWordHistogramPlugin()
public ArrayList<Map.Entry<Text,Text>> generateKeyValPairs(Object key, Object val)
generateKeyValPairs
在接口中 ValueAggregatorDescriptor
generateKeyValPairs
在类中 ValueAggregatorBaseDescriptor
key
- input keyval
- input valueCopyright © 2009 The Apache Software Foundation