@InterfaceAudience.Public @InterfaceStability.Stable public class IdentityMapper<K,V> extends MapReduceBase implements Mapper<K,V,K,V>
Constructor and Description |
---|
IdentityMapper() |
Modifier and Type | Method and Description |
---|---|
void |
map(K key,
V val,
OutputCollector<K,V> output,
Reporter reporter)
The identity function.
|
close, configure
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure
public void map(K key, V val, OutputCollector<K,V> output, Reporter reporter) throws IOException
Copyright © 2018 Apache Software Foundation. All rights reserved.