public static class TableSnapshotInputFormat.TableSnapshotRegionSplit extends Object implements org.apache.hadoop.mapred.InputSplit
| 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() |
void |
readFields(DataInput in) |
void |
write(DataOutput out) |
public TableSnapshotRegionSplit()
public TableSnapshotRegionSplit(TableSnapshotInputFormatImpl.InputSplit delegate)
public long getLength()
throws IOException
getLength in interface org.apache.hadoop.mapred.InputSplitIOExceptionpublic String[] getLocations() throws IOException
getLocations in interface org.apache.hadoop.mapred.InputSplitIOExceptionpublic 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.WritableIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.