@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, configure
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure
public IdentityReducer()
public void reduce(K key, Iterator<V> values, OutputCollector<K,V> output, Reporter reporter) throws IOException
Copyright © 2018 Apache Software Foundation. All rights reserved.