Class TableSnapshotInputFormat.TableSnapshotRegionSplit
java.lang.Object
org.apache.hadoop.mapreduce.InputSplit
org.apache.hadoop.hbase.mapreduce.TableSnapshotInputFormat.TableSnapshotRegionSplit
- All Implemented Interfaces:
org.apache.hadoop.io.Writable
- Enclosing class:
- TableSnapshotInputFormat
public static class TableSnapshotInputFormat.TableSnapshotRegionSplit
extends org.apache.hadoop.mapreduce.InputSplit
implements org.apache.hadoop.io.Writable
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTableSnapshotRegionSplit
(TableDescriptor htd, RegionInfo regionInfo, List<String> locations, Scan scan, org.apache.hadoop.fs.Path restoreDir) -
Method Summary
Modifier and TypeMethodDescription(package private) TableSnapshotInputFormatImpl.InputSplit
long
String[]
void
readFields
(DataInput in) void
write
(DataOutput out) Methods inherited from class org.apache.hadoop.mapreduce.InputSplit
getLocationInfo
-
Field Details
-
delegate
-
-
Constructor Details
-
TableSnapshotRegionSplit
public TableSnapshotRegionSplit() -
TableSnapshotRegionSplit
-
TableSnapshotRegionSplit
public TableSnapshotRegionSplit(TableDescriptor htd, RegionInfo regionInfo, List<String> locations, Scan scan, org.apache.hadoop.fs.Path restoreDir)
-
-
Method Details
-
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
-
write
- Specified by:
write
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
readFields
- Specified by:
readFields
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
getRegion
-
getDelegate
-