Class TableSnapshotInputFormat.TableSnapshotRegionRecordReader
java.lang.Object
org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
org.apache.hadoop.hbase.mapreduce.TableSnapshotInputFormat.TableSnapshotRegionRecordReader
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- TableSnapshotInputFormat
@Private
static class TableSnapshotInputFormat.TableSnapshotRegionRecordReader
extends org.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.hadoop.mapreduce.TaskAttemptContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()floatvoidinitialize(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) boolean
-
Field Details
-
delegate
-
context
-
-
Constructor Details
-
TableSnapshotRegionRecordReader
-
-
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<ImmutableBytesWritable,Result> - Throws:
IOExceptionInterruptedException
-
nextKeyValue
- Specified by:
nextKeyValuein classorg.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result> - Throws:
IOExceptionInterruptedException
-
getCurrentKey
- Specified by:
getCurrentKeyin classorg.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result> - Throws:
IOExceptionInterruptedException
-
getCurrentValue
- Specified by:
getCurrentValuein classorg.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result> - Throws:
IOExceptionInterruptedException
-
getProgress
- Specified by:
getProgressin classorg.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result> - Throws:
IOExceptionInterruptedException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classorg.apache.hadoop.mapreduce.RecordReader<ImmutableBytesWritable,Result> - Throws:
IOException
-