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