|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapreduce.Mapper<K,V,V,K>
org.apache.hadoop.mapreduce.lib.map.InverseMapper<K,V>
public class InverseMapper<K,V>
A Mapper
that swaps keys and values.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper |
---|
Mapper.Context |
Constructor Summary | |
---|---|
InverseMapper()
|
Method Summary | |
---|---|
void |
map(K key,
V value,
Mapper.Context context)
The inverse function. |
Methods inherited from class org.apache.hadoop.mapreduce.Mapper |
---|
cleanup, run, setup |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InverseMapper()
Method Detail |
---|
public void map(K key, V value, Mapper.Context context) throws java.io.IOException, java.lang.InterruptedException
map
in class Mapper<K,V,V,K>
java.io.IOException
java.lang.InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |