public class MailToRecReducer
extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable>
| Modifier and Type | Field and Description |
|---|---|
static String |
USE_COUNTS_PREFERENCE
We can either ignore how many times the user interacted (boolean) or output the number of times they interacted.
|
| Constructor and Description |
|---|
MailToRecReducer() |
public static final String USE_COUNTS_PREFERENCE
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,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable>IOExceptionInterruptedExceptionprotected void reduce(org.apache.hadoop.io.Text key,
Iterable<org.apache.hadoop.io.LongWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
reduce in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable>IOExceptionInterruptedExceptionCopyright © 2008–2013 The Apache Software Foundation. All rights reserved.