org.apache.hadoop.hbase.mapred
Class IdentityTableMap
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
org.apache.hadoop.hbase.mapred.TableMap<org.apache.hadoop.io.Text,org.apache.hadoop.io.MapWritable>
org.apache.hadoop.hbase.mapred.IdentityTableMap
- All Implemented Interfaces:
- org.apache.hadoop.io.Closeable, org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Mapper<HStoreKey,org.apache.hadoop.io.MapWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.MapWritable>
public class IdentityTableMap
- extends TableMap<org.apache.hadoop.io.Text,org.apache.hadoop.io.MapWritable>
Pass the given key and record as-is to reduce
Method Summary |
void |
map(HStoreKey key,
org.apache.hadoop.io.MapWritable value,
org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,org.apache.hadoop.io.MapWritable> output,
org.apache.hadoop.mapred.Reporter reporter)
Pass the key, value to reduce |
Methods inherited from class org.apache.hadoop.hbase.mapred.TableMap |
initJob |
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 org.apache.hadoop.io.Closeable |
close |
IdentityTableMap
public IdentityTableMap()
- constructor
map
public void map(HStoreKey key,
org.apache.hadoop.io.MapWritable value,
org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,org.apache.hadoop.io.MapWritable> output,
org.apache.hadoop.mapred.Reporter reporter)
throws IOException
- Pass the key, value to reduce
- Specified by:
map
in interface org.apache.hadoop.mapred.Mapper<HStoreKey,org.apache.hadoop.io.MapWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.MapWritable>
- Specified by:
map
in class TableMap<org.apache.hadoop.io.Text,org.apache.hadoop.io.MapWritable>
- 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 © 2008 The Apache Software Foundation