|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.accumulo.proxy.thrift.KeyExtent
public class KeyExtent
Nested Class Summary | |
---|---|
static class |
KeyExtent._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
ByteBuffer |
endRow
|
static Map<KeyExtent._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
ByteBuffer |
prevEndRow
|
String |
tableId
|
Constructor Summary | |
---|---|
KeyExtent()
|
|
KeyExtent(KeyExtent other)
Performs a deep copy on other. |
|
KeyExtent(String tableId,
ByteBuffer endRow,
ByteBuffer prevEndRow)
|
Method Summary | |
---|---|
ByteBuffer |
bufferForEndRow()
|
ByteBuffer |
bufferForPrevEndRow()
|
void |
clear()
|
int |
compareTo(KeyExtent other)
|
KeyExtent |
deepCopy()
|
boolean |
equals(KeyExtent that)
|
boolean |
equals(Object that)
|
KeyExtent._Fields |
fieldForId(int fieldId)
|
byte[] |
getEndRow()
|
Object |
getFieldValue(KeyExtent._Fields field)
|
byte[] |
getPrevEndRow()
|
String |
getTableId()
|
int |
hashCode()
|
boolean |
isSet(KeyExtent._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetEndRow()
Returns true if field endRow is set (has been assigned a value) and false otherwise |
boolean |
isSetPrevEndRow()
Returns true if field prevEndRow is set (has been assigned a value) and false otherwise |
boolean |
isSetTableId()
Returns true if field tableId is set (has been assigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
KeyExtent |
setEndRow(byte[] endRow)
|
KeyExtent |
setEndRow(ByteBuffer endRow)
|
void |
setEndRowIsSet(boolean value)
|
void |
setFieldValue(KeyExtent._Fields field,
Object value)
|
KeyExtent |
setPrevEndRow(byte[] prevEndRow)
|
KeyExtent |
setPrevEndRow(ByteBuffer prevEndRow)
|
void |
setPrevEndRowIsSet(boolean value)
|
KeyExtent |
setTableId(String tableId)
|
void |
setTableIdIsSet(boolean value)
|
String |
toString()
|
void |
unsetEndRow()
|
void |
unsetPrevEndRow()
|
void |
unsetTableId()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String tableId
public ByteBuffer endRow
public ByteBuffer prevEndRow
public static final Map<KeyExtent._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public KeyExtent()
public KeyExtent(String tableId, ByteBuffer endRow, ByteBuffer prevEndRow)
public KeyExtent(KeyExtent other)
Method Detail |
---|
public KeyExtent deepCopy()
deepCopy
in interface org.apache.thrift.TBase<KeyExtent,KeyExtent._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<KeyExtent,KeyExtent._Fields>
public String getTableId()
public KeyExtent setTableId(String tableId)
public void unsetTableId()
public boolean isSetTableId()
public void setTableIdIsSet(boolean value)
public byte[] getEndRow()
public ByteBuffer bufferForEndRow()
public KeyExtent setEndRow(byte[] endRow)
public KeyExtent setEndRow(ByteBuffer endRow)
public void unsetEndRow()
public boolean isSetEndRow()
public void setEndRowIsSet(boolean value)
public byte[] getPrevEndRow()
public ByteBuffer bufferForPrevEndRow()
public KeyExtent setPrevEndRow(byte[] prevEndRow)
public KeyExtent setPrevEndRow(ByteBuffer prevEndRow)
public void unsetPrevEndRow()
public boolean isSetPrevEndRow()
public void setPrevEndRowIsSet(boolean value)
public void setFieldValue(KeyExtent._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<KeyExtent,KeyExtent._Fields>
public Object getFieldValue(KeyExtent._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<KeyExtent,KeyExtent._Fields>
public boolean isSet(KeyExtent._Fields field)
isSet
in interface org.apache.thrift.TBase<KeyExtent,KeyExtent._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(KeyExtent that)
public int hashCode()
hashCode
in class Object
public int compareTo(KeyExtent other)
compareTo
in interface Comparable<KeyExtent>
public KeyExtent._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<KeyExtent,KeyExtent._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<KeyExtent,KeyExtent._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<KeyExtent,KeyExtent._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 |