public static class TableSnapshotInputFormatImpl.InputSplit extends Object implements org.apache.hadoop.io.Writable
Modifier and Type | Field and Description |
---|---|
private TableDescriptor |
htd |
private String[] |
locations |
private HRegionInfo |
regionInfo |
private String |
restoreDir |
private String |
scan |
Constructor and Description |
---|
InputSplit() |
InputSplit(TableDescriptor htd,
HRegionInfo regionInfo,
List<String> locations,
Scan scan,
org.apache.hadoop.fs.Path restoreDir) |
Modifier and Type | Method and Description |
---|---|
TableDescriptor |
getHtd() |
long |
getLength() |
String[] |
getLocations() |
HRegionInfo |
getRegionInfo() |
String |
getRestoreDir() |
String |
getScan() |
TableDescriptor |
getTableDescriptor() |
void |
readFields(DataInput in) |
void |
write(DataOutput out) |
private TableDescriptor htd
private HRegionInfo regionInfo
private String restoreDir
public InputSplit()
public InputSplit(TableDescriptor htd, HRegionInfo regionInfo, List<String> locations, Scan scan, org.apache.hadoop.fs.Path restoreDir)
public TableDescriptor getHtd()
public String getRestoreDir()
public long getLength()
public String[] getLocations()
public TableDescriptor getTableDescriptor()
public HRegionInfo getRegionInfo()
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–2020 The Apache Software Foundation. All rights reserved.