|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.HRegionLocation
public class HRegionLocation
Contains the HRegionInfo for the region and the HServerAddress for the HRegionServer serving the region
Constructor Summary | |
---|---|
HRegionLocation(HRegionInfo regionInfo,
HServerAddress serverAddress)
Constructor |
Method Summary | |
---|---|
int |
compareTo(Object o)
|
boolean |
equals(Object o)
|
HRegionInfo |
getRegionInfo()
|
HServerAddress |
getServerAddress()
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HRegionLocation(HRegionInfo regionInfo, HServerAddress serverAddress)
regionInfo
- the HRegionInfo for the regionserverAddress
- the HServerAddress for the region serverMethod Detail |
---|
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public HRegionInfo getRegionInfo()
public HServerAddress getServerAddress()
public int compareTo(Object o)
compareTo
in interface Comparable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |