org.apache.accumulo.proxy.thrift
public class KeyExtent extends Object implements org.apache.thrift.TBase<KeyExtent,KeyExtent._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
KeyExtent._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
ByteBuffer |
endRow |
static Map<KeyExtent._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
prevEndRow |
String |
tableId |
Constructor and Description |
---|
KeyExtent() |
KeyExtent(KeyExtent other)
Performs a deep copy on other.
|
KeyExtent(String tableId,
ByteBuffer endRow,
ByteBuffer prevEndRow) |
Modifier and Type | Method and Description |
---|---|
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) |
public String tableId
public ByteBuffer endRow
public ByteBuffer prevEndRow
public static final Map<KeyExtent._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public KeyExtent()
public KeyExtent(String tableId, ByteBuffer endRow, ByteBuffer prevEndRow)
public KeyExtent(KeyExtent other)
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 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(KeyExtent that)
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 void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2015 Apache Accumulo Project. All Rights Reserved.