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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTableSnapshotRegionSplit(TableDescriptor htd, RegionInfo regionInfo, List<String> locations, Scan scan, org.apache.hadoop.fs.Path restoreDir) -
Method Summary
Modifier and TypeMethodDescriptionlongString[]voidreadFields(DataInput in) voidwrite(DataOutput out)
-
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:
getLengthin interfaceorg.apache.hadoop.mapred.InputSplit- Throws:
IOException
-
getLocations
- Specified by:
getLocationsin interfaceorg.apache.hadoop.mapred.InputSplit- Throws:
IOException
-
write
- Specified by:
writein interfaceorg.apache.hadoop.io.Writable- Throws:
IOException
-
readFields
- Specified by:
readFieldsin interfaceorg.apache.hadoop.io.Writable- Throws:
IOException
-