@Deprecated @InterfaceAudience.Public @InterfaceStability.Stable public class TableSplit extends Object implements org.apache.hadoop.mapred.InputSplit, Comparable<TableSplit>
| Constructor and Description |
|---|
TableSplit()
Deprecated.
default constructor
|
TableSplit(byte[] tableName,
byte[] startRow,
byte[] endRow,
String location)
Deprecated.
|
TableSplit(TableName tableName,
byte[] startRow,
byte[] endRow,
String location)
Deprecated.
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TableSplit o)
Deprecated.
|
boolean |
equals(Object o)
Deprecated.
|
byte[] |
getEndRow()
Deprecated.
|
long |
getLength()
Deprecated.
|
String[] |
getLocations()
Deprecated.
|
String |
getRegionLocation()
Deprecated.
|
byte[] |
getStartRow()
Deprecated.
|
TableName |
getTable()
Deprecated.
|
byte[] |
getTableName()
Deprecated.
|
void |
readFields(DataInput in)
Deprecated.
|
String |
toString()
Deprecated.
|
void |
write(DataOutput out)
Deprecated.
|
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()
getLocations in interface org.apache.hadoop.mapred.InputSplitpublic long getLength()
getLength in interface org.apache.hadoop.mapred.InputSplitpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic int compareTo(TableSplit o)
compareTo in interface Comparable<TableSplit>Copyright © 2014 The Apache Software Foundation. All rights reserved.