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 SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionTableSnapshotRegionSplit(HTableDescriptor htd, HRegionInfo regionInfo, List<String> locations, Scan scan, org.apache.hadoop.fs.Path restoreDir) 
- 
Method SummaryModifier and TypeMethodDescription(package private) TableSnapshotInputFormatImpl.InputSplitlongString[]Deprecated.voidreadFields(DataInput in) voidwrite(DataOutput out) Methods inherited from class org.apache.hadoop.mapreduce.InputSplitgetLocationInfo
- 
Field Details- 
delegate
 
- 
- 
Constructor Details- 
TableSnapshotRegionSplitpublic TableSnapshotRegionSplit()
- 
TableSnapshotRegionSplit
- 
TableSnapshotRegionSplitpublic TableSnapshotRegionSplit(HTableDescriptor htd, HRegionInfo regionInfo, List<String> locations, Scan scan, org.apache.hadoop.fs.Path restoreDir) 
 
- 
- 
Method Details- 
getLength- Specified by:
- getLengthin class- org.apache.hadoop.mapreduce.InputSplit
- Throws:
- IOException
- InterruptedException
 
- 
getLocations- Specified by:
- getLocationsin class- org.apache.hadoop.mapreduce.InputSplit
- Throws:
- IOException
- InterruptedException
 
- 
write- Specified by:
- writein interface- org.apache.hadoop.io.Writable
- Throws:
- IOException
 
- 
readFields- Specified by:
- readFieldsin interface- org.apache.hadoop.io.Writable
- Throws:
- IOException
 
- 
getRegionInfoDeprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 UsegetRegion()
- 
getRegion
- 
getDelegate
 
- 
getRegion()