Package org.apache.hadoop.hbase.snapshot
Class ExportSnapshot.ExportSnapshotInputFormat.ExportSnapshotRecordReader
java.lang.Object
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.NullWritable>
org.apache.hadoop.hbase.snapshot.ExportSnapshot.ExportSnapshotInputFormat.ExportSnapshotRecordReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- ExportSnapshot.ExportSnapshotInputFormat
private static class ExportSnapshot.ExportSnapshotInputFormat.ExportSnapshotRecordReader
extends org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.NullWritable>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionExportSnapshotRecordReader
(List<Pair<org.apache.hadoop.io.BytesWritable, Long>> files) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
org.apache.hadoop.io.BytesWritable
org.apache.hadoop.io.NullWritable
float
void
initialize
(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext tac) boolean
-
Field Details
-
files
-
totalSize
-
procSize
-
index
-
-
Constructor Details
-
ExportSnapshotRecordReader
ExportSnapshotRecordReader(List<Pair<org.apache.hadoop.io.BytesWritable, Long>> files)
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classorg.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.BytesWritable,
org.apache.hadoop.io.NullWritable>
-
getCurrentKey
- Specified by:
getCurrentKey
in classorg.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.BytesWritable,
org.apache.hadoop.io.NullWritable>
-
getCurrentValue
- Specified by:
getCurrentValue
in classorg.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.BytesWritable,
org.apache.hadoop.io.NullWritable>
-
getProgress
- Specified by:
getProgress
in classorg.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.BytesWritable,
org.apache.hadoop.io.NullWritable>
-
initialize
public void initialize(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext tac) - Specified by:
initialize
in classorg.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.BytesWritable,
org.apache.hadoop.io.NullWritable>
-
nextKeyValue
- Specified by:
nextKeyValue
in classorg.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.BytesWritable,
org.apache.hadoop.io.NullWritable>
-