org.apache.hadoop.hbase.master
Class MetaRegion

java.lang.Object
  extended by org.apache.hadoop.hbase.master.MetaRegion
All Implemented Interfaces:
Comparable<MetaRegion>

public class MetaRegion
extends Object
implements Comparable<MetaRegion>

Describes a meta region and its server


Method Summary
 int compareTo(MetaRegion other)
          
 boolean equals(Object o)
          
 byte[] getRegionName()
           
 HServerAddress getServer()
           
 byte[] getStartKey()
           
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public String toString()

Overrides:
toString in class Object

getRegionName

public byte[] getRegionName()
Returns:
the regionName

getServer

public HServerAddress getServer()
Returns:
the server

getStartKey

public byte[] getStartKey()
Returns:
the startKey

equals

public boolean equals(Object o)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

compareTo

public int compareTo(MetaRegion other)

Specified by:
compareTo in interface Comparable<MetaRegion>


Copyright © 2008 The Apache Software Foundation