public static class WordCount.IntSumReducer
extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>
| Constructor | Description |
|---|---|
IntSumReducer() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
reduce(org.apache.hadoop.io.Text key,
java.lang.Iterable<org.apache.hadoop.io.IntWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context) |
public void reduce(org.apache.hadoop.io.Text key,
java.lang.Iterable<org.apache.hadoop.io.IntWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
throws java.io.IOException,
java.lang.InterruptedException
reduce in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>java.io.IOExceptionjava.lang.InterruptedExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.