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_HISTOGRAMONE, TYPE_SEPARATOR| Constructor and Description |
|---|
AggregateWordCount.WordCountPlugInClass() |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Map.Entry<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>> |
generateKeyValPairs(Object key,
Object val)
Generate 1 or 2 aggregation-id/value pairs for the given key/value pair.
|
configure, generateEntry, generateValueAggregatorpublic AggregateWordCount.WordCountPlugInClass()
public ArrayList<Map.Entry<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>> generateKeyValPairs(Object key, Object val)
ValueAggregatorBaseDescriptorgenerateKeyValPairs in interface ValueAggregatorDescriptorgenerateKeyValPairs in class ValueAggregatorBaseDescriptorkey - input keyval - input valueCopyright © 2009 The Apache Software Foundation