Class TRowRange
- java.lang.Object
-
- org.apache.accumulo.core.dataImpl.thrift.TRowRange
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<TRowRange>
,org.apache.thrift.TBase<TRowRange,TRowRange._Fields>
,org.apache.thrift.TSerializable
public class TRowRange extends Object implements org.apache.thrift.TBase<TRowRange,TRowRange._Fields>, Serializable, Cloneable, Comparable<TRowRange>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TRowRange._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description ByteBuffer
endRow
static Map<TRowRange._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
ByteBuffer
startRow
-
Constructor Summary
Constructors Constructor Description TRowRange()
TRowRange(ByteBuffer startRow, ByteBuffer endRow)
TRowRange(TRowRange other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 otherwiseboolean
isSetEndRow()
Returns true if field endRow is set (has been assigned a value) and false otherwiseboolean
isSetStartRow()
Returns true if field startRow is set (has been assigned a value) and false otherwisevoid
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)
-
-
-
Field Detail
-
startRow
public ByteBuffer startRow
-
endRow
public ByteBuffer endRow
-
metaDataMap
public static final Map<TRowRange._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TRowRange
public TRowRange()
-
TRowRange
public TRowRange(ByteBuffer startRow, ByteBuffer endRow)
-
TRowRange
public TRowRange(TRowRange other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TRowRange deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<TRowRange,TRowRange._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<TRowRange,TRowRange._Fields>
-
getStartRow
public byte[] getStartRow()
-
bufferForStartRow
public ByteBuffer bufferForStartRow()
-
setStartRow
public TRowRange setStartRow(byte[] startRow)
-
setStartRow
public TRowRange setStartRow(ByteBuffer startRow)
-
unsetStartRow
public void unsetStartRow()
-
isSetStartRow
public boolean isSetStartRow()
Returns true if field startRow is set (has been assigned a value) and false otherwise
-
setStartRowIsSet
public void setStartRowIsSet(boolean value)
-
getEndRow
public byte[] getEndRow()
-
bufferForEndRow
public ByteBuffer bufferForEndRow()
-
setEndRow
public TRowRange setEndRow(byte[] endRow)
-
setEndRow
public TRowRange setEndRow(ByteBuffer endRow)
-
unsetEndRow
public void unsetEndRow()
-
isSetEndRow
public boolean isSetEndRow()
Returns true if field endRow is set (has been assigned a value) and false otherwise
-
setEndRowIsSet
public void setEndRowIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TRowRange._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<TRowRange,TRowRange._Fields>
-
getFieldValue
public Object getFieldValue(TRowRange._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<TRowRange,TRowRange._Fields>
-
isSet
public boolean isSet(TRowRange._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.thrift.TBase<TRowRange,TRowRange._Fields>
-
equals
public boolean equals(TRowRange that)
-
compareTo
public int compareTo(TRowRange other)
- Specified by:
compareTo
in interfaceComparable<TRowRange>
-
fieldForId
public TRowRange._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<TRowRange,TRowRange._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TSerializable
- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
- Specified by:
write
in interfaceorg.apache.thrift.TSerializable
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-