@Generated(value="Autogenerated by Thrift Compiler (0.11.0)") public class TRowRange extends Object implements org.apache.thrift.TBase<TRowRange,TRowRange._Fields>, Serializable, Cloneable, Comparable<TRowRange>
Modifier and Type | Class and Description |
---|---|
static class |
TRowRange._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<TRowRange._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
startRow |
Constructor and Description |
---|
TRowRange() |
TRowRange(ByteBuffer startRow,
ByteBuffer endRow) |
TRowRange(TRowRange other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
bufferForEndRow() |
ByteBuffer |
bufferForStartRow() |
void |
clear() |
int |
compareTo(TRowRange other) |
TRowRange |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TRowRange that) |
TRowRange._Fields |
fieldForId(int fieldId) |
byte[] |
getEndRow() |
Object |
getFieldValue(TRowRange._Fields field) |
byte[] |
getStartRow() |
int |
hashCode() |
boolean |
isSet(TRowRange._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 |
isSetStartRow()
Returns true if field startRow is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
TRowRange |
setEndRow(byte[] endRow) |
TRowRange |
setEndRow(ByteBuffer endRow) |
void |
setEndRowIsSet(boolean value) |
void |
setFieldValue(TRowRange._Fields field,
Object value) |
TRowRange |
setStartRow(byte[] startRow) |
TRowRange |
setStartRow(ByteBuffer startRow) |
void |
setStartRowIsSet(boolean value) |
String |
toString() |
void |
unsetEndRow() |
void |
unsetStartRow() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer startRow
public ByteBuffer endRow
public static final Map<TRowRange._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TRowRange()
public TRowRange(ByteBuffer startRow, ByteBuffer endRow)
public TRowRange(TRowRange other)
public TRowRange deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TRowRange,TRowRange._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TRowRange,TRowRange._Fields>
public byte[] getStartRow()
public ByteBuffer bufferForStartRow()
public TRowRange setStartRow(byte[] startRow)
public TRowRange setStartRow(ByteBuffer startRow)
public void unsetStartRow()
public boolean isSetStartRow()
public void setStartRowIsSet(boolean value)
public byte[] getEndRow()
public ByteBuffer bufferForEndRow()
public TRowRange setEndRow(byte[] endRow)
public TRowRange setEndRow(ByteBuffer endRow)
public void unsetEndRow()
public boolean isSetEndRow()
public void setEndRowIsSet(boolean value)
public void setFieldValue(TRowRange._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TRowRange,TRowRange._Fields>
public Object getFieldValue(TRowRange._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TRowRange,TRowRange._Fields>
public boolean isSet(TRowRange._Fields field)
isSet
in interface org.apache.thrift.TBase<TRowRange,TRowRange._Fields>
public boolean equals(TRowRange that)
public int compareTo(TRowRange other)
compareTo
in interface Comparable<TRowRange>
public TRowRange._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TRowRange,TRowRange._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.