org.apache.hadoop.hbase.mapred
Class IdentityTableMap
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
org.apache.hadoop.hbase.mapred.TableMap<Text,MapWritable>
org.apache.hadoop.hbase.mapred.IdentityTableMap
- All Implemented Interfaces:
- Closeable, JobConfigurable, Mapper<HStoreKey,MapWritable,Text,MapWritable>
public class IdentityTableMap
- extends TableMap<Text,MapWritable>
Pass the given key and record as-is to reduce
Methods inherited from class org.apache.hadoop.hbase.mapred.TableMap |
initJob |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdentityTableMap
public IdentityTableMap()
- constructor
map
public void map(HStoreKey key,
MapWritable value,
OutputCollector<Text,MapWritable> output,
Reporter reporter)
throws IOException
- Pass the key, value to reduce
- Specified by:
map
in interface Mapper<HStoreKey,MapWritable,Text,MapWritable>
- Specified by:
map
in class TableMap<Text,MapWritable>
- Parameters:
key
- the input key.value
- the input value.output
- collects mapped keys and values.reporter
- facility to report progress.
- Throws:
IOException
- See Also:
TableMap.map(org.apache.hadoop.hbase.HStoreKey, org.apache.hadoop.io.MapWritable, org.apache.hadoop.mapred.OutputCollector, org.apache.hadoop.mapred.Reporter)
Copyright © 2006 The Apache Software Foundation