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