@InterfaceAudience.Public @InterfaceStability.Stable public class InverseMapper<K,V> extends MapReduceBase implements Mapper<K,V,V,K>
Mapper that swaps keys and values.| コンストラクタと説明 |
|---|
InverseMapper() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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, waitconfigurepublic InverseMapper()
public void map(K key, V value, OutputCollector<V,K> output, Reporter reporter) throws IOException
Copyright © 2016 Apache Software Foundation. All rights reserved.