@InterfaceAudience.Public @InterfaceStability.Stable public class IntSumReducer<Key> extends Reducer<Key,IntWritable,Key,IntWritable>
Constructor and Description |
---|
IntSumReducer() |
Modifier and Type | Method and Description |
---|---|
void |
reduce(Key key,
Iterable<IntWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
This method is called once for each key.
|
public void reduce(Key key, Iterable<IntWritable> values, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
Reducer
reduce
in class Reducer<Key,IntWritable,Key,IntWritable>
IOException
InterruptedException
Copyright © 2018 Apache Software Foundation. All rights reserved.