public static class WordCorpusFrequencyJob.DocumentSumReducer extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,TextIntPairWritable,org.apache.hadoop.io.Text,TextIntIntIntWritable>
| Constructor and Description |
|---|
DocumentSumReducer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup(org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void |
reduce(org.apache.hadoop.io.Text key,
Iterable<TextIntPairWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void setup(org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
setup in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,TextIntPairWritable,org.apache.hadoop.io.Text,TextIntIntIntWritable>IOExceptionInterruptedExceptionprotected void reduce(org.apache.hadoop.io.Text key,
Iterable<TextIntPairWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
reduce in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,TextIntPairWritable,org.apache.hadoop.io.Text,TextIntIntIntWritable>IOExceptionInterruptedExceptionprotected void cleanup(org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
cleanup in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,TextIntPairWritable,org.apache.hadoop.io.Text,TextIntIntIntWritable>IOExceptionInterruptedExceptionCopyright © 2016. All rights reserved.