Class TableSnapshotInputFormatImpl.InputSplit
java.lang.Object
org.apache.hadoop.hbase.mapreduce.TableSnapshotInputFormatImpl.InputSplit
- All Implemented Interfaces:
org.apache.hadoop.io.Writable
- Enclosing class:
- TableSnapshotInputFormatImpl
public static class TableSnapshotInputFormatImpl.InputSplit
extends Object
implements org.apache.hadoop.io.Writable
Implementation class for InputSplit logic common between mapred and mapreduce.
-
Field Summary
Modifier and TypeFieldDescriptionprivate TableDescriptor
private String[]
private RegionInfo
private String
private String
-
Constructor Summary
ConstructorDescriptionInputSplit
(TableDescriptor htd, RegionInfo regionInfo, List<String> locations, Scan scan, org.apache.hadoop.fs.Path restoreDir) -
Method Summary
Modifier and TypeMethodDescriptiongetHtd()
long
String[]
getScan()
void
readFields
(DataInput in) void
write
(DataOutput out)
-
Field Details
-
htd
-
regionInfo
-
locations
-
scan
-
restoreDir
-
-
Constructor Details
-
InputSplit
public InputSplit() -
InputSplit
public InputSplit(TableDescriptor htd, RegionInfo regionInfo, List<String> locations, Scan scan, org.apache.hadoop.fs.Path restoreDir)
-
-
Method Details
-
getHtd
-
getScan
-
getRestoreDir
-
getLength
-
getLocations
-
getTableDescriptor
-
getRegionInfo
-
write
- Specified by:
write
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
readFields
- Specified by:
readFields
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-