edu.yale.cs.hadoopdb.dataloader
Class GlobalHasher.Reduce
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
edu.yale.cs.hadoopdb.dataloader.GlobalHasher.Reduce
- All Implemented Interfaces:
- java.io.Closeable, org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Reducer<GlobalHasher.UnsortableInt,org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text>
- Enclosing class:
- GlobalHasher
public static class GlobalHasher.Reduce
- extends org.apache.hadoop.mapred.MapReduceBase
- implements org.apache.hadoop.mapred.Reducer<GlobalHasher.UnsortableInt,org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text>
Field Summary |
private org.apache.hadoop.io.NullWritable |
nullKey
|
Method Summary |
void |
reduce(GlobalHasher.UnsortableInt key,
java.util.Iterator<org.apache.hadoop.io.Text> values,
org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text> output,
org.apache.hadoop.mapred.Reporter reporter)
|
Methods inherited from class org.apache.hadoop.mapred.MapReduceBase |
close, configure |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.hadoop.mapred.JobConfigurable |
configure |
Methods inherited from interface java.io.Closeable |
close |
nullKey
private org.apache.hadoop.io.NullWritable nullKey
GlobalHasher.Reduce
public GlobalHasher.Reduce()
reduce
public void reduce(GlobalHasher.UnsortableInt key,
java.util.Iterator<org.apache.hadoop.io.Text> values,
org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text> output,
org.apache.hadoop.mapred.Reporter reporter)
throws java.io.IOException
- Specified by:
reduce
in interface org.apache.hadoop.mapred.Reducer<GlobalHasher.UnsortableInt,org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text>
- Throws:
java.io.IOException