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