|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.mapred.TableSplit
public class TableSplit
A table split corresponds to a key range [low, high)
Constructor Summary | |
---|---|
TableSplit()
default constructor |
|
TableSplit(byte[] tableName,
byte[] startRow,
byte[] endRow)
Constructor |
Method Summary | |
---|---|
byte[] |
getEndRow()
|
long |
getLength()
|
String[] |
getLocations()
|
byte[] |
getStartRow()
|
byte[] |
getTableName()
|
void |
readFields(DataInput in)
|
String |
toString()
|
void |
write(DataOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TableSplit()
public TableSplit(byte[] tableName, byte[] startRow, byte[] endRow)
tableName
- startRow
- endRow
- Method Detail |
---|
public byte[] getTableName()
public byte[] getStartRow()
public byte[] getEndRow()
public long getLength()
getLength
in interface org.apache.hadoop.mapred.InputSplit
public String[] getLocations()
getLocations
in interface org.apache.hadoop.mapred.InputSplit
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |