Package org.apache.hadoop.hbase.mapred
Class TableSnapshotInputFormat.TableSnapshotRecordReader
java.lang.Object
org.apache.hadoop.hbase.mapred.TableSnapshotInputFormat.TableSnapshotRecordReader
- All Implemented Interfaces:
org.apache.hadoop.mapred.RecordReader<ImmutableBytesWritable,
Result>
- Enclosing class:
- TableSnapshotInputFormat
static class TableSnapshotInputFormat.TableSnapshotRecordReader
extends Object
implements org.apache.hadoop.mapred.RecordReader<ImmutableBytesWritable,Result>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTableSnapshotRecordReader
(TableSnapshotInputFormat.TableSnapshotRegionSplit split, org.apache.hadoop.mapred.JobConf job) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
long
getPos()
float
boolean
next
(ImmutableBytesWritable key, Result value)
-
Field Details
-
delegate
-
-
Constructor Details
-
TableSnapshotRecordReader
public TableSnapshotRecordReader(TableSnapshotInputFormat.TableSnapshotRegionSplit split, org.apache.hadoop.mapred.JobConf job) throws IOException - Throws:
IOException
-
-
Method Details
-
next
- Specified by:
next
in interfaceorg.apache.hadoop.mapred.RecordReader<ImmutableBytesWritable,
Result> - Throws:
IOException
-
createKey
- Specified by:
createKey
in interfaceorg.apache.hadoop.mapred.RecordReader<ImmutableBytesWritable,
Result>
-
createValue
- Specified by:
createValue
in interfaceorg.apache.hadoop.mapred.RecordReader<ImmutableBytesWritable,
Result>
-
getPos
- Specified by:
getPos
in interfaceorg.apache.hadoop.mapred.RecordReader<ImmutableBytesWritable,
Result> - Throws:
IOException
-
close
- Specified by:
close
in interfaceorg.apache.hadoop.mapred.RecordReader<ImmutableBytesWritable,
Result> - Throws:
IOException
-
getProgress
- Specified by:
getProgress
in interfaceorg.apache.hadoop.mapred.RecordReader<ImmutableBytesWritable,
Result> - Throws:
IOException
-