|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.accumulo.core.data.thrift.TKeyExtent
public class TKeyExtent
Nested Class Summary | |
---|---|
static class |
TKeyExtent._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
ByteBuffer |
endRow
|
static Map<TKeyExtent._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
ByteBuffer |
prevEndRow
|
ByteBuffer |
table
|
Constructor Summary | |
---|---|
TKeyExtent()
|
|
TKeyExtent(ByteBuffer table,
ByteBuffer endRow,
ByteBuffer prevEndRow)
|
|
TKeyExtent(TKeyExtent other)
Performs a deep copy on other. |
Method Summary | |
---|---|
ByteBuffer |
bufferForEndRow()
|
ByteBuffer |
bufferForPrevEndRow()
|
ByteBuffer |
bufferForTable()
|
void |
clear()
|
int |
compareTo(TKeyExtent other)
|
TKeyExtent |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(TKeyExtent that)
|
TKeyExtent._Fields |
fieldForId(int fieldId)
|
byte[] |
getEndRow()
|
Object |
getFieldValue(TKeyExtent._Fields field)
|
byte[] |
getPrevEndRow()
|
byte[] |
getTable()
|
int |
hashCode()
|
boolean |
isSet(TKeyExtent._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 |
isSetTable()
Returns true if field table is set (has been assigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
TKeyExtent |
setEndRow(byte[] endRow)
|
TKeyExtent |
setEndRow(ByteBuffer endRow)
|
void |
setEndRowIsSet(boolean value)
|
void |
setFieldValue(TKeyExtent._Fields field,
Object value)
|
TKeyExtent |
setPrevEndRow(byte[] prevEndRow)
|
TKeyExtent |
setPrevEndRow(ByteBuffer prevEndRow)
|
void |
setPrevEndRowIsSet(boolean value)
|
TKeyExtent |
setTable(byte[] table)
|
TKeyExtent |
setTable(ByteBuffer table)
|
void |
setTableIsSet(boolean value)
|
String |
toString()
|
void |
unsetEndRow()
|
void |
unsetPrevEndRow()
|
void |
unsetTable()
|
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 ByteBuffer table
public ByteBuffer endRow
public ByteBuffer prevEndRow
public static final Map<TKeyExtent._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public TKeyExtent()
public TKeyExtent(ByteBuffer table, ByteBuffer endRow, ByteBuffer prevEndRow)
public TKeyExtent(TKeyExtent other)
Method Detail |
---|
public TKeyExtent deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TKeyExtent,TKeyExtent._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TKeyExtent,TKeyExtent._Fields>
public byte[] getTable()
public ByteBuffer bufferForTable()
public TKeyExtent setTable(byte[] table)
public TKeyExtent setTable(ByteBuffer table)
public void unsetTable()
public boolean isSetTable()
public void setTableIsSet(boolean value)
public byte[] getEndRow()
public ByteBuffer bufferForEndRow()
public TKeyExtent setEndRow(byte[] endRow)
public TKeyExtent setEndRow(ByteBuffer endRow)
public void unsetEndRow()
public boolean isSetEndRow()
public void setEndRowIsSet(boolean value)
public byte[] getPrevEndRow()
public ByteBuffer bufferForPrevEndRow()
public TKeyExtent setPrevEndRow(byte[] prevEndRow)
public TKeyExtent setPrevEndRow(ByteBuffer prevEndRow)
public void unsetPrevEndRow()
public boolean isSetPrevEndRow()
public void setPrevEndRowIsSet(boolean value)
public void setFieldValue(TKeyExtent._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TKeyExtent,TKeyExtent._Fields>
public Object getFieldValue(TKeyExtent._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TKeyExtent,TKeyExtent._Fields>
public boolean isSet(TKeyExtent._Fields field)
isSet
in interface org.apache.thrift.TBase<TKeyExtent,TKeyExtent._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(TKeyExtent that)
public int hashCode()
hashCode
in class Object
public int compareTo(TKeyExtent other)
compareTo
in interface Comparable<TKeyExtent>
public TKeyExtent._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TKeyExtent,TKeyExtent._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TKeyExtent,TKeyExtent._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<TKeyExtent,TKeyExtent._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 |