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
@InterfaceAudience.Public
@InterfaceStability.Stable
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.  
TableSplit(TableName tableName, byte[] startRow, byte[] endRow, String location)
          Deprecated. Constructor
 
Method Summary
 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.  
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableSplit

public TableSplit()
Deprecated. 
default constructor


TableSplit

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

Parameters:
tableName -
startRow -
endRow -
location -

TableSplit

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

getTable

public TableName getTable()
Deprecated. 
Returns:
table name

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>

equals

public boolean equals(Object o)
Deprecated. 
Overrides:
equals in class Object


Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.