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
FieldsModifier and TypeFieldDescriptionprivate TableDescriptorprivate String[]private HRegionInfoprivate Stringprivate String -
Constructor Summary
ConstructorsConstructorDescriptionInputSplit(TableDescriptor htd, HRegionInfo regionInfo, List<String> locations, Scan scan, org.apache.hadoop.fs.Path restoreDir) -
Method Summary
Modifier and TypeMethodDescriptiongetHtd()longString[]getScan()voidreadFields(DataInput in) voidwrite(DataOutput out)
-
Field Details
-
htd
-
regionInfo
-
locations
-
scan
-
restoreDir
-
-
Constructor Details
-
InputSplit
public InputSplit() -
InputSplit
public InputSplit(TableDescriptor htd, HRegionInfo regionInfo, List<String> locations, Scan scan, org.apache.hadoop.fs.Path restoreDir)
-
-
Method Details
-
getHtd
-
getScan
-
getRestoreDir
-
getLength
-
getLocations
-
getTableDescriptor
-
getRegionInfo
-
write
- Specified by:
writein interfaceorg.apache.hadoop.io.Writable- Throws:
IOException
-
readFields
- Specified by:
readFieldsin interfaceorg.apache.hadoop.io.Writable- Throws:
IOException
-