Class TableSnapshotInputFormatImpl.RecordReader
java.lang.Object
org.apache.hadoop.hbase.mapreduce.TableSnapshotInputFormatImpl.RecordReader
- Enclosing class:
- TableSnapshotInputFormatImpl
Implementation class for RecordReader logic common between mapred and mapreduce.
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private Result
private ImmutableBytesWritable
private int
private Scan
private ClientSideRegionScanner
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
long
getPos()
float
void
initialize
(TableSnapshotInputFormatImpl.InputSplit split, org.apache.hadoop.conf.Configuration conf) boolean
-
Field Details
-
split
-
scan
-
result
-
row
-
scanner
-
numOfCompleteRows
-
rowLimitPerSplit
-
-
Constructor Details
-
RecordReader
public RecordReader()
-
-
Method Details
-
getScanner
-
initialize
public void initialize(TableSnapshotInputFormatImpl.InputSplit split, org.apache.hadoop.conf.Configuration conf) throws IOException - Throws:
IOException
-
nextKeyValue
- Throws:
IOException
-
getCurrentKey
-
getCurrentValue
-
getPos
-
getProgress
-
close
-