Class HFileInputFormat.HFileRecordReader
java.lang.Object
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,Cell>
 
org.apache.hadoop.hbase.mapreduce.HFileInputFormat.HFileRecordReader
- All Implemented Interfaces:
 Closeable,AutoCloseable
- Enclosing class:
 - HFileInputFormat
 
private static class HFileInputFormat.HFileRecordReader
extends org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,Cell> 
Record reader for HFiles.
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate OptionalLongprotected org.apache.hadoop.conf.Configurationprivate longprivate HFile.Readerprivate HFileScannerprivate booleanprivate CellA private cache of the key value so it doesn't need to be loaded twice from the scanner. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidclose()org.apache.hadoop.io.NullWritablefloatvoidinitialize(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) boolean 
- 
Field Details
- 
in
 - 
conf
 - 
scanner
 - 
value
A private cache of the key value so it doesn't need to be loaded twice from the scanner. - 
count
 - 
seeked
 - 
bulkloadSeqId
 
 - 
 - 
Constructor Details
- 
HFileRecordReader
private HFileRecordReader() 
 - 
 - 
Method Details
- 
initialize
public void initialize(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException - Specified by:
 initializein classorg.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,Cell> - Throws:
 IOExceptionInterruptedException
 - 
nextKeyValue
- Specified by:
 nextKeyValuein classorg.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,Cell> - Throws:
 IOExceptionInterruptedException
 - 
getCurrentKey
- Specified by:
 getCurrentKeyin classorg.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,Cell> - Throws:
 IOExceptionInterruptedException
 - 
getCurrentValue
- Specified by:
 getCurrentValuein classorg.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,Cell> - Throws:
 IOExceptionInterruptedException
 - 
getProgress
- Specified by:
 getProgressin classorg.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,Cell> - Throws:
 IOExceptionInterruptedException
 - 
close
- Specified by:
 closein interfaceAutoCloseable- Specified by:
 closein interfaceCloseable- Specified by:
 closein classorg.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,Cell> - Throws:
 IOException
 
 -