Class BulkDataGeneratorRecordReader

java.lang.Object
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable>
org.apache.hadoop.hbase.util.bulkdatagenerator.BulkDataGeneratorRecordReader
All Implemented Interfaces:
Closeable, AutoCloseable

public class BulkDataGeneratorRecordReader extends org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable>
  • Field Details

  • Constructor Details

  • Method Details

    • initialize

      public void initialize(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
      Specified by:
      initialize in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable>
      Throws:
      IOException
      InterruptedException
    • nextKeyValue

      public boolean nextKeyValue()
      Specified by:
      nextKeyValue in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable>
    • getCurrentKey

      public org.apache.hadoop.io.Text getCurrentKey()
      Specified by:
      getCurrentKey in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable>
    • getCurrentValue

      public org.apache.hadoop.io.NullWritable getCurrentValue()
      Specified by:
      getCurrentValue in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable>
    • getProgress

      Specified by:
      getProgress in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable>
      Throws:
      IOException
      InterruptedException
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable>
      Throws:
      IOException