org.htuple.examples
Class SecondarySort.Reduce
java.lang.Object
org.apache.hadoop.mapreduce.Reducer<Tuple,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable>
org.htuple.examples.SecondarySort.Reduce
- Enclosing class:
- SecondarySort
public static class SecondarySort.Reduce
- extends org.apache.hadoop.mapreduce.Reducer<Tuple,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable>
The reducer just emits the map output values, allowing us to examine the resulting output and
determine the results of the secondary sort.
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Reducer |
org.apache.hadoop.mapreduce.Reducer.Context |
Method Summary |
void |
reduce(Tuple key,
Iterable<org.apache.hadoop.io.Text> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
|
Methods inherited from class org.apache.hadoop.mapreduce.Reducer |
cleanup, run, setup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecondarySort.Reduce
public SecondarySort.Reduce()
reduce
public void reduce(Tuple key,
Iterable<org.apache.hadoop.io.Text> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
- Overrides:
reduce
in class org.apache.hadoop.mapreduce.Reducer<Tuple,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable>
- Throws:
IOException
InterruptedException
Copyright © 2013. All Rights Reserved.