net.nutch.mapReduce
Class DefaultReducer
java.lang.Object
net.nutch.mapReduce.DefaultReducer
- All Implemented Interfaces:
- Reducer
- public class DefaultReducer
- extends Object
- implements Reducer
The default Reducer
. Performs no reduction, writing all input
values directly to the output.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultReducer
public DefaultReducer()
reduce
public void reduce(WritableComparable key,
Iterator values,
OutputCollector results)
throws IOException
- Writes all values directly to results.
- Specified by:
reduce
in interface Reducer
- Parameters:
key
- the keyvalues
- the values to combineresults
- to collect combined values
- Throws:
IOException
Copyright © 2005 The Nutch Organization.