public static class MovieGenre.MovieGenreReducer
extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.Text>
| Constructor and Description |
|---|
MovieGenre.MovieGenreReducer() |
| Modifier and Type | Method and Description |
|---|---|
void |
reduce(org.apache.hadoop.io.IntWritable genreID, java.lang.Iterable<org.apache.hadoop.io.IntWritable> movieIDs, org.apache.hadoop.mapreduce.Reducer.Context context)
The reduce function.
|
public void reduce(org.apache.hadoop.io.IntWritable genreID,
java.lang.Iterable<org.apache.hadoop.io.IntWritable> movieIDs,
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.IntWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.Text>java.io.IOExceptionjava.lang.InterruptedException