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 classTRowRange._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description ByteBufferendRowstatic Map<TRowRange._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapByteBufferstartRow
-
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 ByteBufferbufferForEndRow()ByteBufferbufferForStartRow()voidclear()intcompareTo(TRowRange other)TRowRangedeepCopy()booleanequals(Object that)booleanequals(TRowRange that)TRowRange._FieldsfieldForId(int fieldId)byte[]getEndRow()ObjectgetFieldValue(TRowRange._Fields field)byte[]getStartRow()inthashCode()booleanisSet(TRowRange._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetEndRow()Returns true if field endRow is set (has been assigned a value) and false otherwisebooleanisSetStartRow()Returns true if field startRow is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TRowRangesetEndRow(byte[] endRow)TRowRangesetEndRow(ByteBuffer endRow)voidsetEndRowIsSet(boolean value)voidsetFieldValue(TRowRange._Fields field, Object value)TRowRangesetStartRow(byte[] startRow)TRowRangesetStartRow(ByteBuffer startRow)voidsetStartRowIsSet(boolean value)StringtoString()voidunsetEndRow()voidunsetStartRow()voidvalidate()voidwrite(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:
deepCopyin interfaceorg.apache.thrift.TBase<TRowRange,TRowRange._Fields>
-
clear
public void clear()
- Specified by:
clearin 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:
setFieldValuein interfaceorg.apache.thrift.TBase<TRowRange,TRowRange._Fields>
-
getFieldValue
public Object getFieldValue(TRowRange._Fields field)
- Specified by:
getFieldValuein 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:
isSetin interfaceorg.apache.thrift.TBase<TRowRange,TRowRange._Fields>
-
equals
public boolean equals(TRowRange that)
-
compareTo
public int compareTo(TRowRange other)
- Specified by:
compareToin interfaceComparable<TRowRange>
-
fieldForId
public TRowRange._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TRowRange,TRowRange._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin 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:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-