public static class AggregateWordCount.WordCountPlugInClass 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
构造器和说明 |
---|
AggregateWordCount.WordCountPlugInClass() |
限定符和类型 | 方法和说明 |
---|---|
ArrayList<Map.Entry<Text,Text>> |
generateKeyValPairs(Object key,
Object val)
Generate 1 or 2 aggregation-id/value pairs for the given key/value pair.
|
configure, generateEntry, generateValueAggregator
public ArrayList<Map.Entry<Text,Text>> generateKeyValPairs(Object key, Object val)
ValueAggregatorBaseDescriptor
generateKeyValPairs
在接口中 ValueAggregatorDescriptor
generateKeyValPairs
在类中 ValueAggregatorBaseDescriptor
key
- input keyval
- input valueCopyright © 2009 The Apache Software Foundation