org.apache.hadoop.hbase.thrift.generated
Class TRegionInfo

java.lang.Object
  extended by org.apache.hadoop.hbase.thrift.generated.TRegionInfo
All Implemented Interfaces:
com.facebook.thrift.TBase, Serializable

public class TRegionInfo
extends Object
implements com.facebook.thrift.TBase, Serializable

A TRegionInfo contains information about an HTable region.

See Also:
Serialized Form

Nested Class Summary
static class TRegionInfo.Isset
           
 
Field Summary
 TRegionInfo.Isset __isset
           
 byte[] endKey
           
 long id
           
 byte[] name
           
 byte[] startKey
           
 byte version
           
 
Constructor Summary
TRegionInfo()
           
TRegionInfo(byte[] startKey, byte[] endKey, long id, byte[] name, byte version)
           
 
Method Summary
 boolean equals(Object that)
           
 boolean equals(TRegionInfo that)
           
 int hashCode()
           
 void read(com.facebook.thrift.protocol.TProtocol iprot)
           
 String toString()
           
 void write(com.facebook.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

startKey

public byte[] startKey

endKey

public byte[] endKey

id

public long id

name

public byte[] name

version

public byte version

__isset

public final TRegionInfo.Isset __isset
Constructor Detail

TRegionInfo

public TRegionInfo()

TRegionInfo

public TRegionInfo(byte[] startKey,
                   byte[] endKey,
                   long id,
                   byte[] name,
                   byte version)
Method Detail

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(TRegionInfo that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

read

public void read(com.facebook.thrift.protocol.TProtocol iprot)
          throws com.facebook.thrift.TException
Specified by:
read in interface com.facebook.thrift.TBase
Throws:
com.facebook.thrift.TException

write

public void write(com.facebook.thrift.protocol.TProtocol oprot)
           throws com.facebook.thrift.TException
Specified by:
write in interface com.facebook.thrift.TBase
Throws:
com.facebook.thrift.TException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008 The Apache Software Foundation