@InterfaceAudience.Public @InterfaceStability.Stable public class IdentityReducer<K,V> extends MapReduceBase implements Reducer<K,V,K,V>
| Constructor and Description | 
|---|
| IdentityReducer() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | reduce(K key,
            Iterator<V> values,
            OutputCollector<K,V> output,
            Reporter reporter)Writes all keys and values directly to output. | 
close, configureclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigurepublic IdentityReducer()
public void reduce(K key, Iterator<V> values, OutputCollector<K,V> output, Reporter reporter) throws IOException
Copyright © 2016 Apache Software Foundation. All rights reserved.