Class BulkLoadRecordWriter<V extends org.apache.hadoop.hbase.Cell>

java.lang.Object
org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.hbase.io.ImmutableBytesWritable,V>
com.mapr.fs.hbase.BulkLoadRecordWriter<V>

public class BulkLoadRecordWriter<V extends org.apache.hadoop.hbase.Cell> extends org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.hbase.io.ImmutableBytesWritable,V>
  • Constructor Summary

    Constructors
    Constructor
    Description
    BulkLoadRecordWriter(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path tablePath)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    close(org.apache.hadoop.mapreduce.TaskAttemptContext c)
     
    void
    write(org.apache.hadoop.hbase.io.ImmutableBytesWritable row, V cell)
     

    Methods inherited from class java.lang.Object

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

    • BulkLoadRecordWriter

      public BulkLoadRecordWriter(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path tablePath) throws IOException
      Throws:
      IOException
  • Method Details

    • write

      public void write(org.apache.hadoop.hbase.io.ImmutableBytesWritable row, V cell) throws IOException
      Specified by:
      write in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.hbase.io.ImmutableBytesWritable,V extends org.apache.hadoop.hbase.Cell>
      Throws:
      IOException
    • close

      public void close(org.apache.hadoop.mapreduce.TaskAttemptContext c) throws IOException, InterruptedException
      Specified by:
      close in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.hbase.io.ImmutableBytesWritable,V extends org.apache.hadoop.hbase.Cell>
      Throws:
      IOException
      InterruptedException