public class IdentityReducer<K,V> extends MapReduceBase implements Reducer<K,V,K,V>
构造器和说明 |
---|
IdentityReducer() |
限定符和类型 | 方法和说明 |
---|---|
void |
reduce(K key,
Iterator<V> values,
OutputCollector<K,V> output,
Reporter reporter)
Writes all keys and values directly to output.
|
close, configure
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure
public void reduce(K key, Iterator<V> values, OutputCollector<K,V> output, Reporter reporter) throws IOException
Copyright © 2009 The Apache Software Foundation