public static class SecondarySort.Reduce extends Reducer<SecondarySort.IntPair,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>
Reducer.Context| Constructor and Description |
|---|
SecondarySort.Reduce() |
| Modifier and Type | Method and Description |
|---|---|
void |
reduce(SecondarySort.IntPair key,
java.lang.Iterable<org.apache.hadoop.io.IntWritable> values,
Reducer.Context context)
This method is called once for each key.
|
public void reduce(SecondarySort.IntPair key, java.lang.Iterable<org.apache.hadoop.io.IntWritable> values, Reducer.Context context) throws java.io.IOException, java.lang.InterruptedException
Reducerreduce in class Reducer<SecondarySort.IntPair,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>java.io.IOExceptionjava.lang.InterruptedExceptionCopyright © 2009 The Apache Software Foundation