public static class TableSnapshotInputFormat.TableSnapshotRegionSplit extends Object implements org.apache.hadoop.mapred.InputSplit
Constructor and Description |
---|
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
in interface org.apache.hadoop.mapred.InputSplit
IOException
public String[] getLocations() throws IOException
getLocations
in interface org.apache.hadoop.mapred.InputSplit
IOException
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
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.