public class IntSumReducer<Key> extends Reducer<Key,org.apache.hadoop.io.IntWritable,Key,org.apache.hadoop.io.IntWritable>
Reducer.Context
Constructor and Description |
---|
IntSumReducer() |
Modifier and Type | Method and Description |
---|---|
void |
reduce(Key key,
java.lang.Iterable<org.apache.hadoop.io.IntWritable> values,
Reducer.Context context)
This method is called once for each key.
|
public void reduce(Key key, java.lang.Iterable<org.apache.hadoop.io.IntWritable> values, Reducer.Context context) throws java.io.IOException, java.lang.InterruptedException
Reducer
Copyright © 2009 The Apache Software Foundation