Package org.apache.hadoop.hbase.mapred
Class TestTableSnapshotInputFormat.TestTableSnapshotMapper
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
org.apache.hadoop.hbase.mapred.TestTableSnapshotInputFormat.TestTableSnapshotMapper
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.hadoop.hbase.mapred.TableMap<org.apache.hadoop.hbase.io.ImmutableBytesWritable,
,org.apache.hadoop.io.NullWritable> org.apache.hadoop.io.Closeable
,org.apache.hadoop.mapred.JobConfigurable
,org.apache.hadoop.mapred.Mapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable,
org.apache.hadoop.hbase.client.Result, org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.io.NullWritable>
- Enclosing class:
- TestTableSnapshotInputFormat
static class TestTableSnapshotInputFormat.TestTableSnapshotMapper
extends org.apache.hadoop.mapred.MapReduceBase
implements org.apache.hadoop.hbase.mapred.TableMap<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.io.NullWritable>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
map
(org.apache.hadoop.hbase.io.ImmutableBytesWritable key, org.apache.hadoop.hbase.client.Result value, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.io.NullWritable> collector, org.apache.hadoop.mapred.Reporter reporter) 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
-
Constructor Details
-
TestTableSnapshotMapper
-
-
Method Details
-
map
public void map(org.apache.hadoop.hbase.io.ImmutableBytesWritable key, org.apache.hadoop.hbase.client.Result value, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.io.NullWritable> collector, org.apache.hadoop.mapred.Reporter reporter) throws IOException- Specified by:
map
in interfaceorg.apache.hadoop.mapred.Mapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable,
org.apache.hadoop.hbase.client.Result, org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.io.NullWritable> - Throws:
IOException
-