public class InverseMapper<K,V> extends MapReduceBase implements Mapper<K,V,V,K>
Mapper that swaps keys and values.| Constructor and Description |
|---|
InverseMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
map(K key,
V value,
OutputCollector<V,K> output,
Reporter reporter)
The inverse function.
|
close, configureclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigureCopyright © 2009 The Apache Software Foundation