public static class SampleIntDocVectors.MyReducer extends MapReduceBase implements Reducer<IntWritable,WeightedIntDocVector,IntWritable,WeightedIntDocVector>
Constructor and Description |
---|
SampleIntDocVectors.MyReducer() |
Modifier and Type | Method and Description |
---|---|
void |
reduce(IntWritable key,
Iterator<WeightedIntDocVector> values,
OutputCollector<IntWritable,WeightedIntDocVector> output,
Reporter reporter) |
close, configure
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure
public void reduce(IntWritable key, Iterator<WeightedIntDocVector> values, OutputCollector<IntWritable,WeightedIntDocVector> output, Reporter reporter) throws IOException
reduce
in interface Reducer<IntWritable,WeightedIntDocVector,IntWritable,WeightedIntDocVector>
IOException