@InterfaceAudience.Public @InterfaceStability.Stable public class InverseMapper<K,V> extends Mapper<K,V,V,K>
Mapper
that swaps keys and values.Constructor and Description |
---|
InverseMapper() |
public InverseMapper()
public void map(K key, V value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map
in class Mapper<K,V,V,K>
IOException
InterruptedException
Copyright © 2017 Apache Software Foundation. All rights reserved.