public class TKeyExtent extends Object implements org.apache.thrift.TBase<TKeyExtent,TKeyExtent._Fields>, Serializable, Cloneable, Comparable<TKeyExtent>
Modifier and Type | Class and Description |
---|---|
static class |
TKeyExtent._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<TKeyExtent._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
prevEndRow |
ByteBuffer |
table |
Constructor and Description |
---|
TKeyExtent() |
TKeyExtent(ByteBuffer table,
ByteBuffer endRow,
ByteBuffer prevEndRow) |
TKeyExtent(TKeyExtent other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
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) |
public ByteBuffer table
public ByteBuffer endRow
public ByteBuffer prevEndRow
public static final Map<TKeyExtent._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TKeyExtent()
public TKeyExtent(ByteBuffer table, ByteBuffer endRow, ByteBuffer prevEndRow)
public TKeyExtent(TKeyExtent other)
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(TKeyExtent that)
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 void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.