public static class TableSnapshotInputFormat.TableSnapshotRegionSplit
extends org.apache.hadoop.mapreduce.InputSplit
implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
TableSnapshotRegionSplit() |
TableSnapshotRegionSplit(org.apache.hadoop.hbase.HTableDescriptor htd,
org.apache.hadoop.hbase.HRegionInfo regionInfo,
List<String> locations,
org.apache.hadoop.hbase.client.Scan scan,
org.apache.hadoop.fs.Path restoreDir) |
TableSnapshotRegionSplit(TableSnapshotInputFormatImpl.InputSplit delegate) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLength() |
String[] |
getLocations() |
org.apache.hadoop.hbase.client.RegionInfo |
getRegion() |
org.apache.hadoop.hbase.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) |
public TableSnapshotRegionSplit()
public TableSnapshotRegionSplit(TableSnapshotInputFormatImpl.InputSplit delegate)
public long getLength()
throws IOException,
InterruptedException
getLength in class org.apache.hadoop.mapreduce.InputSplitIOExceptionInterruptedExceptionpublic String[] getLocations() throws IOException, InterruptedException
getLocations in class org.apache.hadoop.mapreduce.InputSplitIOExceptionInterruptedExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOException@Deprecated public org.apache.hadoop.hbase.HRegionInfo getRegionInfo()
getRegion()public org.apache.hadoop.hbase.client.RegionInfo getRegion()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.