org.apache.hadoop.hbase.mapred
Class IdentityTableMap

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      extended by org.apache.hadoop.hbase.mapred.TableMap
          extended by org.apache.hadoop.hbase.mapred.IdentityTableMap
All Implemented Interfaces:
Closeable, JobConfigurable, Mapper

public class IdentityTableMap
extends TableMap

Pass the given key and record as-is to reduce


Constructor Summary
IdentityTableMap()
          constructor
 
Method Summary
 void map(HStoreKey key, MapWritable value, TableOutputCollector output, Reporter reporter)
          Pass the key, value to reduce
 
Methods inherited from class org.apache.hadoop.hbase.mapred.TableMap
initJob, map
 
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
 

Constructor Detail

IdentityTableMap

public IdentityTableMap()
constructor

Method Detail

map

public void map(HStoreKey key,
                MapWritable value,
                TableOutputCollector output,
                Reporter reporter)
         throws IOException
Pass the key, value to reduce

Specified by:
map in class TableMap
Throws:
IOException
See Also:
TableMap.map(org.apache.hadoop.hbase.HStoreKey, org.apache.hadoop.io.MapWritable, org.apache.hadoop.hbase.mapred.TableOutputCollector, org.apache.hadoop.mapred.Reporter)


Copyright © 2006 The Apache Software Foundation