Package org.apache.hadoop.hbase.mapred
Class TestMultiTableSnapshotInputFormat.Mapper
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.client.Result,KEYOUT,VALUEOUT>
org.apache.hadoop.hbase.mapreduce.TableMapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.io.ImmutableBytesWritable>
org.apache.hadoop.hbase.mapreduce.MultiTableInputFormatTestBase.ScanMapper
org.apache.hadoop.hbase.mapred.TestMultiTableSnapshotInputFormat.Mapper
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.hadoop.hbase.mapred.TableMap<org.apache.hadoop.hbase.io.ImmutableBytesWritable,
,org.apache.hadoop.hbase.io.ImmutableBytesWritable> 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.hbase.io.ImmutableBytesWritable>
- Enclosing class:
- TestMultiTableSnapshotInputFormat
public static class TestMultiTableSnapshotInputFormat.Mapper
extends MultiTableInputFormatTestBase.ScanMapper
implements org.apache.hadoop.hbase.mapred.TableMap<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.io.ImmutableBytesWritable>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
org.apache.hadoop.mapreduce.Mapper.Context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Closes this stream and releases any system resources associated with it.void
configure
(org.apache.hadoop.mapred.JobConf jobConf) 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.hbase.io.ImmutableBytesWritable> outputCollector, org.apache.hadoop.mapred.Reporter reporter) Methods inherited from class org.apache.hadoop.hbase.mapreduce.MultiTableInputFormatTestBase.ScanMapper
makeAssertions, map
Methods inherited from class org.apache.hadoop.mapreduce.Mapper
cleanup, run, setup
-
Constructor Details
-
Mapper
public Mapper()
-
-
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.hbase.io.ImmutableBytesWritable> outputCollector, 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.hbase.io.ImmutableBytesWritable> - Throws:
IOException
-
close
Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
- if an I/O error occurs
-
configure
- Specified by:
configure
in interfaceorg.apache.hadoop.mapred.JobConfigurable
-