org.apache.hadoop.examples
Class WordCount.IntSumReducer
java.lang.Object
   org.apache.hadoop.mapreduce.Reducer<Text,IntWritable,Text,IntWritable>
org.apache.hadoop.mapreduce.Reducer<Text,IntWritable,Text,IntWritable>
       org.apache.hadoop.examples.WordCount.IntSumReducer
org.apache.hadoop.examples.WordCount.IntSumReducer
- Enclosing class:
- WordCount
- public static class WordCount.IntSumReducer 
- extends Reducer<Text,IntWritable,Text,IntWritable>
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
WordCount.IntSumReducer
public WordCount.IntSumReducer()
reduce
public void reduce(Text key,
                   Iterable<IntWritable> values,
                   Reducer.Context context)
            throws IOException,
                   InterruptedException
- Description copied from class: Reducer
- This method is called once for each key. Most applications will define
 their reduce class by overriding this method. The default implementation
 is an identity function.
 
- 
- Overrides:
- reducein class- Reducer<Text,IntWritable,Text,IntWritable>
 
- 
- Throws:
- IOException
- InterruptedException
 
Copyright © 2009 The Apache Software Foundation