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, configureequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigurepublic void reduce(IntWritable key, Iterator<WeightedIntDocVector> values, OutputCollector<IntWritable,WeightedIntDocVector> output, Reporter reporter) throws IOException
reduce in interface Reducer<IntWritable,WeightedIntDocVector,IntWritable,WeightedIntDocVector>IOException