|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.mapred.MapReduceBase
org.apache.hadoop.mapred.lib.InverseMapper<K,V>
InverseMapper
instead.
@Deprecated public class InverseMapper<K,V>
A Mapper that swaps keys and values.
| Constructor Summary | |
|---|---|
InverseMapper()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
map(K key,
V value,
OutputCollector<V,K> output,
Reporter reporter)
Deprecated. The inverse function. |
| Methods inherited from class org.apache.hadoop.mapred.MapReduceBase |
|---|
close, configure |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.hadoop.mapred.JobConfigurable |
|---|
configure |
| Methods inherited from interface java.io.Closeable |
|---|
close |
| Constructor Detail |
|---|
public InverseMapper()
| Method Detail |
|---|
public void map(K key,
V value,
OutputCollector<V,K> output,
Reporter reporter)
throws java.io.IOException
map in interface Mapper<K,V,V,K>key - the input key.value - the input value.output - collects mapped keys and values.reporter - facility to report progress.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||