|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.thrift.generated.TRegionInfo
public class TRegionInfo
A TRegionInfo contains information about an HTable region.
Nested Class Summary | |
---|---|
static class |
TRegionInfo._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
byte[] |
endKey
|
long |
id
|
static Map<TRegionInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
byte[] |
name
|
byte[] |
startKey
|
byte |
version
|
Constructor Summary | |
---|---|
TRegionInfo()
|
|
TRegionInfo(byte[] startKey,
byte[] endKey,
long id,
byte[] name,
byte version)
|
|
TRegionInfo(TRegionInfo other)
Performs a deep copy on other. |
Method Summary | |
---|---|
TRegionInfo |
clone()
Deprecated. |
int |
compareTo(TRegionInfo other)
|
TRegionInfo |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(TRegionInfo that)
|
byte[] |
getEndKey()
|
Object |
getFieldValue(int fieldId)
|
Object |
getFieldValue(TRegionInfo._Fields field)
|
long |
getId()
|
byte[] |
getName()
|
byte[] |
getStartKey()
|
byte |
getVersion()
|
int |
hashCode()
|
boolean |
isSet(int fieldID)
|
boolean |
isSet(TRegionInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSetEndKey()
Returns true if field endKey is set (has been asigned a value) and false otherwise |
boolean |
isSetId()
Returns true if field id is set (has been asigned a value) and false otherwise |
boolean |
isSetName()
Returns true if field name is set (has been asigned a value) and false otherwise |
boolean |
isSetStartKey()
Returns true if field startKey is set (has been asigned a value) and false otherwise |
boolean |
isSetVersion()
Returns true if field version is set (has been asigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
TRegionInfo |
setEndKey(byte[] endKey)
|
void |
setEndKeyIsSet(boolean value)
|
void |
setFieldValue(int fieldID,
Object value)
|
void |
setFieldValue(TRegionInfo._Fields field,
Object value)
|
TRegionInfo |
setId(long id)
|
void |
setIdIsSet(boolean value)
|
TRegionInfo |
setName(byte[] name)
|
void |
setNameIsSet(boolean value)
|
TRegionInfo |
setStartKey(byte[] startKey)
|
void |
setStartKeyIsSet(boolean value)
|
TRegionInfo |
setVersion(byte version)
|
void |
setVersionIsSet(boolean value)
|
String |
toString()
|
void |
unsetEndKey()
|
void |
unsetId()
|
void |
unsetName()
|
void |
unsetStartKey()
|
void |
unsetVersion()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public byte[] startKey
public byte[] endKey
public long id
public byte[] name
public byte version
public static final Map<TRegionInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public TRegionInfo()
public TRegionInfo(byte[] startKey, byte[] endKey, long id, byte[] name, byte version)
public TRegionInfo(TRegionInfo other)
Method Detail |
---|
public TRegionInfo deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TRegionInfo._Fields>
@Deprecated public TRegionInfo clone()
clone
in class Object
public byte[] getStartKey()
public TRegionInfo setStartKey(byte[] startKey)
public void unsetStartKey()
public boolean isSetStartKey()
public void setStartKeyIsSet(boolean value)
public byte[] getEndKey()
public TRegionInfo setEndKey(byte[] endKey)
public void unsetEndKey()
public boolean isSetEndKey()
public void setEndKeyIsSet(boolean value)
public long getId()
public TRegionInfo setId(long id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public byte[] getName()
public TRegionInfo setName(byte[] name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public byte getVersion()
public TRegionInfo setVersion(byte version)
public void unsetVersion()
public boolean isSetVersion()
public void setVersionIsSet(boolean value)
public void setFieldValue(TRegionInfo._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TRegionInfo._Fields>
public void setFieldValue(int fieldID, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TRegionInfo._Fields>
public Object getFieldValue(TRegionInfo._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TRegionInfo._Fields>
public Object getFieldValue(int fieldId)
getFieldValue
in interface org.apache.thrift.TBase<TRegionInfo._Fields>
public boolean isSet(TRegionInfo._Fields field)
isSet
in interface org.apache.thrift.TBase<TRegionInfo._Fields>
public boolean isSet(int fieldID)
isSet
in interface org.apache.thrift.TBase<TRegionInfo._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(TRegionInfo that)
public int hashCode()
hashCode
in class Object
public int compareTo(TRegionInfo other)
compareTo
in interface Comparable<TRegionInfo>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TRegionInfo._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<TRegionInfo._Fields>
org.apache.thrift.TException
public String toString()
toString
in class Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |