Package org.apache.hadoop.hbase.snapshot
Class ExportSnapshot.ExportSnapshotInputFormat.ExportSnapshotInputSplit
java.lang.Object
org.apache.hadoop.mapreduce.InputSplit
org.apache.hadoop.hbase.snapshot.ExportSnapshot.ExportSnapshotInputFormat.ExportSnapshotInputSplit
- All Implemented Interfaces:
org.apache.hadoop.io.Writable
- Enclosing class:
- ExportSnapshot.ExportSnapshotInputFormat
private static class ExportSnapshot.ExportSnapshotInputFormat.ExportSnapshotInputSplit
extends org.apache.hadoop.mapreduce.InputSplit
implements org.apache.hadoop.io.Writable
-
Field Summary
-
Constructor Summary
ConstructorDescriptionExportSnapshotInputSplit
(List<Pair<org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotFileInfo, Long>> snapshotFiles) -
Method Summary
Modifier and TypeMethodDescriptionlong
String[]
void
readFields
(DataInput in) void
write
(DataOutput out) Methods inherited from class org.apache.hadoop.mapreduce.InputSplit
getLocationInfo
-
Field Details
-
files
-
length
-
-
Constructor Details
-
ExportSnapshotInputSplit
public ExportSnapshotInputSplit() -
ExportSnapshotInputSplit
public ExportSnapshotInputSplit(List<Pair<org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotFileInfo, Long>> snapshotFiles)
-
-
Method Details
-
getSplitKeys
-
getLength
- Specified by:
getLength
in classorg.apache.hadoop.mapreduce.InputSplit
- Throws:
IOException
InterruptedException
-
getLocations
- Specified by:
getLocations
in classorg.apache.hadoop.mapreduce.InputSplit
- Throws:
IOException
InterruptedException
-
readFields
- Specified by:
readFields
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
write
- Specified by:
write
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-