@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 identify function.
|
close, configure
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure
public IdentityMapper()
public void map(K key, V val, OutputCollector<K,V> output, Reporter reporter) throws IOException
Copyright © 2014 Apache Software Foundation. All Rights Reserved.