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
(HTableDescriptor htd, HRegionInfo regionInfo, List<String> locations, Scan scan, org.apache.hadoop.fs.Path restoreDir) -
Method Summary
Modifier and TypeMethodDescription(package private) TableSnapshotInputFormatImpl.InputSplit
long
String[]
Deprecated.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(HTableDescriptor htd, HRegionInfo 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
-
getRegionInfo
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetRegion()
-
getRegion
-
getDelegate
-
getRegion()