public static class TableSnapshotInputFormat.TableSnapshotRegionSplit extends Object implements org.apache.hadoop.mapred.InputSplit
| 构造器和说明 |
|---|
TableSnapshotInputFormat.TableSnapshotRegionSplit() |
TableSnapshotInputFormat.TableSnapshotRegionSplit(HTableDescriptor htd,
HRegionInfo regionInfo,
List<String> locations,
Scan scan,
org.apache.hadoop.fs.Path restoreDir) |
TableSnapshotInputFormat.TableSnapshotRegionSplit(TableSnapshotInputFormatImpl.InputSplit delegate) |
public TableSnapshotInputFormat.TableSnapshotRegionSplit()
public TableSnapshotInputFormat.TableSnapshotRegionSplit(TableSnapshotInputFormatImpl.InputSplit delegate)
public TableSnapshotInputFormat.TableSnapshotRegionSplit(HTableDescriptor htd, HRegionInfo regionInfo, List<String> locations, Scan scan, org.apache.hadoop.fs.Path restoreDir)
public long getLength()
throws IOException
getLength 在接口中 org.apache.hadoop.mapred.InputSplitIOExceptionpublic String[] getLocations() throws IOException
getLocations 在接口中 org.apache.hadoop.mapred.InputSplitIOExceptionpublic void write(DataOutput out) throws IOException
write 在接口中 org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput in) throws IOException
readFields 在接口中 org.apache.hadoop.io.WritableIOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.