@InterfaceAudience.Public @InterfaceStability.Stable public class TableSplit extends Object implements Comparable<TableSplit>
Constructor and Description |
---|
TableSplit()
default constructor
|
TableSplit(byte[] tableName,
byte[] startRow,
byte[] endRow,
String location) |
TableSplit(TableName tableName,
byte[] startRow,
byte[] endRow,
String location)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TableSplit o) |
boolean |
equals(Object o) |
byte[] |
getEndRow() |
long |
getLength() |
String[] |
getLocations() |
String |
getRegionLocation() |
byte[] |
getStartRow() |
TableName |
getTable() |
byte[] |
getTableName() |
int |
hashCode() |
void |
readFields(DataInput in) |
String |
toString() |
void |
write(DataOutput out) |
public TableSplit()
public TableSplit(TableName tableName, byte[] startRow, byte[] endRow, String location)
tableName
- startRow
- endRow
- location
- public TableSplit(byte[] tableName, byte[] startRow, byte[] endRow, String location)
public TableName getTable()
public byte[] getTableName()
public byte[] getStartRow()
public byte[] getEndRow()
public String getRegionLocation()
public String[] getLocations()
public long getLength()
public void readFields(DataInput in) throws IOException
IOException
public void write(DataOutput out) throws IOException
IOException
public int compareTo(TableSplit o)
compareTo
in interface Comparable<TableSplit>