@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, configureclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigurepublic void map(K key, V val, OutputCollector<K,V> output, Reporter reporter) throws IOException
Copyright © 2022 Apache Software Foundation. All rights reserved.