org.apache.hadoop.hbase.mapred
Class TableSplit

java.lang.Object
  extended by org.apache.hadoop.hbase.mapred.TableSplit
All Implemented Interfaces:
Comparable<TableSplit>, org.apache.hadoop.io.Writable, org.apache.hadoop.mapred.InputSplit

Deprecated.

@Deprecated
public class TableSplit
extends Object
implements org.apache.hadoop.mapred.InputSplit, Comparable<TableSplit>

A table split corresponds to a key range [low, high)


Constructor Summary
TableSplit()
          Deprecated. default constructor
TableSplit(byte[] tableName, byte[] startRow, byte[] endRow, String location)
          Deprecated. Constructor
 
Method Summary
 int compareTo(TableSplit o)
          Deprecated.  
 byte[] getEndRow()
          Deprecated.  
 long getLength()
          Deprecated.  
 String[] getLocations()
          Deprecated.  
 String getRegionLocation()
          Deprecated.  
 byte[] getStartRow()
          Deprecated.  
 byte[] getTableName()
          Deprecated.  
 void readFields(DataInput in)
          Deprecated.  
 String toString()
          Deprecated.  
 void write(DataOutput out)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableSplit

public TableSplit()
Deprecated. 
default constructor


TableSplit

public TableSplit(byte[] tableName,
                  byte[] startRow,
                  byte[] endRow,
                  String location)
Deprecated. 
Constructor

Parameters:
tableName -
startRow -
endRow -
location -
Method Detail

getTableName

public byte[] getTableName()
Deprecated. 
Returns:
table name

getStartRow

public byte[] getStartRow()
Deprecated. 
Returns:
starting row key

getEndRow

public byte[] getEndRow()
Deprecated. 
Returns:
end row key

getRegionLocation

public String getRegionLocation()
Deprecated. 
Returns:
the region's hostname

getLocations

public String[] getLocations()
Deprecated. 
Specified by:
getLocations in interface org.apache.hadoop.mapred.InputSplit

getLength

public long getLength()
Deprecated. 
Specified by:
getLength in interface org.apache.hadoop.mapred.InputSplit

readFields

public void readFields(DataInput in)
                throws IOException
Deprecated. 
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Throws:
IOException

write

public void write(DataOutput out)
           throws IOException
Deprecated. 
Specified by:
write in interface org.apache.hadoop.io.Writable
Throws:
IOException

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object

compareTo

public int compareTo(TableSplit o)
Deprecated. 
Specified by:
compareTo in interface Comparable<TableSplit>


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.