public static class TableSnapshotInputFormat.TableSnapshotRegionSplit extends org.apache.hadoop.mapreduce.InputSplit implements org.apache.hadoop.io.Writable
Modifier and Type | Field and Description |
---|---|
private TableSnapshotInputFormatImpl.InputSplit |
delegate |
Constructor and Description |
---|
TableSnapshotRegionSplit() |
TableSnapshotRegionSplit(HTableDescriptor htd,
HRegionInfo regionInfo,
List<String> locations,
Scan scan,
org.apache.hadoop.fs.Path restoreDir) |
TableSnapshotRegionSplit(TableSnapshotInputFormatImpl.InputSplit delegate) |
Modifier and Type | Method and Description |
---|---|
(package private) TableSnapshotInputFormatImpl.InputSplit |
getDelegate() |
long |
getLength() |
String[] |
getLocations() |
RegionInfo |
getRegion() |
HRegionInfo |
getRegionInfo()
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0
Use
getRegion() |
void |
readFields(DataInput in) |
void |
write(DataOutput out) |
private TableSnapshotInputFormatImpl.InputSplit delegate
public TableSnapshotRegionSplit()
public TableSnapshotRegionSplit(TableSnapshotInputFormatImpl.InputSplit delegate)
public TableSnapshotRegionSplit(HTableDescriptor htd, HRegionInfo regionInfo, List<String> locations, Scan scan, org.apache.hadoop.fs.Path restoreDir)
public long getLength() throws IOException, InterruptedException
getLength
in class org.apache.hadoop.mapreduce.InputSplit
IOException
InterruptedException
public String[] getLocations() throws IOException, InterruptedException
getLocations
in class org.apache.hadoop.mapreduce.InputSplit
IOException
InterruptedException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
@Deprecated public HRegionInfo getRegionInfo()
getRegion()
public RegionInfo getRegion()
TableSnapshotInputFormatImpl.InputSplit getDelegate()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.