org.apache.hadoop.examples
Class AggregateWordCount.WordCountPlugInClass

java.lang.Object
  extended by org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorBaseDescriptor
      extended by org.apache.hadoop.examples.AggregateWordCount.WordCountPlugInClass
All Implemented Interfaces:
org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorDescriptor
Enclosing class:
AggregateWordCount

public static class AggregateWordCount.WordCountPlugInClass
extends org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorBaseDescriptor


Field Summary
 
Fields inherited from class org.apache.hadoop.mapreduce.lib.aggregate.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
 
Fields inherited from interface org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorDescriptor
ONE, TYPE_SEPARATOR
 
Constructor Summary
AggregateWordCount.WordCountPlugInClass()
           
 
Method Summary
 ArrayList<Map.Entry<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>> generateKeyValPairs(Object key, Object val)
           
 
Methods inherited from class org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorBaseDescriptor
configure, generateEntry, generateValueAggregator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregateWordCount.WordCountPlugInClass

public AggregateWordCount.WordCountPlugInClass()
Method Detail

generateKeyValPairs

public ArrayList<Map.Entry<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>> generateKeyValPairs(Object key,
                                                                                                     Object val)
Specified by:
generateKeyValPairs in interface org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorDescriptor
Overrides:
generateKeyValPairs in class org.apache.hadoop.mapreduce.lib.aggregate.ValueAggregatorBaseDescriptor


Copyright © 2012 Apache Software Foundation. All Rights Reserved.