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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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 interface 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>
      Throws:
      IOException
    • close

      public void close() throws IOException
      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 interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException - if an I/O error occurs
    • configure

      public void configure(org.apache.hadoop.mapred.JobConf jobConf)
      Specified by:
      configure in interface org.apache.hadoop.mapred.JobConfigurable