Package org.apache.hadoop.hbase.mapred
Class TableSnapshotInputFormat.TableSnapshotRegionSplit
java.lang.Object
org.apache.hadoop.hbase.mapred.TableSnapshotInputFormat.TableSnapshotRegionSplit
- All Implemented Interfaces:
org.apache.hadoop.io.Writable
,org.apache.hadoop.mapred.InputSplit
- Enclosing class:
- TableSnapshotInputFormat
public static class TableSnapshotInputFormat.TableSnapshotRegionSplit
extends Object
implements org.apache.hadoop.mapred.InputSplit
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTableSnapshotRegionSplit
(HTableDescriptor htd, HRegionInfo regionInfo, List<String> locations, Scan scan, org.apache.hadoop.fs.Path restoreDir) -
Method Summary
Modifier and TypeMethodDescriptionlong
String[]
void
readFields
(DataInput in) void
write
(DataOutput out)
-
Field Details
-
delegate
-
-
Constructor Details
-
TableSnapshotRegionSplit
public TableSnapshotRegionSplit() -
TableSnapshotRegionSplit
-
TableSnapshotRegionSplit
public TableSnapshotRegionSplit(HTableDescriptor htd, HRegionInfo regionInfo, List<String> locations, Scan scan, org.apache.hadoop.fs.Path restoreDir)
-
-
Method Details
-
getLength
- Specified by:
getLength
in interfaceorg.apache.hadoop.mapred.InputSplit
- Throws:
IOException
-
getLocations
- Specified by:
getLocations
in interfaceorg.apache.hadoop.mapred.InputSplit
- Throws:
IOException
-
write
- Specified by:
write
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
readFields
- Specified by:
readFields
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-