public class IdentityMapper<K,V> extends MapReduceBase implements Mapper<K,V,K,V>
| 构造器和说明 |
|---|
IdentityMapper() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
map(K key,
V val,
OutputCollector<K,V> output,
Reporter reporter)
The identify function.
|
close, configureclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigurepublic void map(K key, V val, OutputCollector<K,V> output, Reporter reporter) throws IOException
Copyright © 2009 The Apache Software Foundation