@InterfaceAudience.Public @InterfaceStability.Stable public class InverseMapper<K,V> extends Mapper<K,V,V,K>
Mapper that swaps keys and values.| コンストラクタと説明 |
|---|
InverseMapper() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
map(K key,
V value,
org.apache.hadoop.mapreduce.Mapper.Context context)
The inverse function.
|
public InverseMapper()
public void map(K key, V value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map クラス内 Mapper<K,V,V,K>IOExceptionInterruptedExceptionCopyright © 2016 Apache Software Foundation. All rights reserved.