Class TSQueryDataSet
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSQueryDataSet
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSQueryDataSet>,org.apache.thrift.TBase<TSQueryDataSet,TSQueryDataSet._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSQueryDataSet extends Object implements org.apache.thrift.TBase<TSQueryDataSet,TSQueryDataSet._Fields>, Serializable, Cloneable, Comparable<TSQueryDataSet>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSQueryDataSet._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description List<ByteBuffer>bitmapListstatic Map<TSQueryDataSet._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapByteBuffertimeList<ByteBuffer>valueList
-
Constructor Summary
Constructors Constructor Description TSQueryDataSet()TSQueryDataSet(ByteBuffer time, List<ByteBuffer> valueList, List<ByteBuffer> bitmapList)TSQueryDataSet(TSQueryDataSet other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToBitmapList(ByteBuffer elem)voidaddToValueList(ByteBuffer elem)ByteBufferbufferForTime()voidclear()intcompareTo(TSQueryDataSet other)TSQueryDataSetdeepCopy()booleanequals(Object that)booleanequals(TSQueryDataSet that)TSQueryDataSet._FieldsfieldForId(int fieldId)List<ByteBuffer>getBitmapList()Iterator<ByteBuffer>getBitmapListIterator()intgetBitmapListSize()ObjectgetFieldValue(TSQueryDataSet._Fields field)byte[]getTime()List<ByteBuffer>getValueList()Iterator<ByteBuffer>getValueListIterator()intgetValueListSize()inthashCode()booleanisSet(TSQueryDataSet._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetBitmapList()Returns true if field bitmapList is set (has been assigned a value) and false otherwisebooleanisSetTime()Returns true if field time is set (has been assigned a value) and false otherwisebooleanisSetValueList()Returns true if field valueList is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TSQueryDataSetsetBitmapList(List<ByteBuffer> bitmapList)voidsetBitmapListIsSet(boolean value)voidsetFieldValue(TSQueryDataSet._Fields field, Object value)TSQueryDataSetsetTime(byte[] time)TSQueryDataSetsetTime(ByteBuffer time)voidsetTimeIsSet(boolean value)TSQueryDataSetsetValueList(List<ByteBuffer> valueList)voidsetValueListIsSet(boolean value)StringtoString()voidunsetBitmapList()voidunsetTime()voidunsetValueList()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
time
public ByteBuffer time
-
valueList
public List<ByteBuffer> valueList
-
bitmapList
public List<ByteBuffer> bitmapList
-
metaDataMap
public static final Map<TSQueryDataSet._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSQueryDataSet
public TSQueryDataSet()
-
TSQueryDataSet
public TSQueryDataSet(ByteBuffer time, List<ByteBuffer> valueList, List<ByteBuffer> bitmapList)
-
TSQueryDataSet
public TSQueryDataSet(TSQueryDataSet other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSQueryDataSet deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSQueryDataSet,TSQueryDataSet._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSQueryDataSet,TSQueryDataSet._Fields>
-
getTime
public byte[] getTime()
-
bufferForTime
public ByteBuffer bufferForTime()
-
setTime
public TSQueryDataSet setTime(byte[] time)
-
setTime
public TSQueryDataSet setTime(ByteBuffer time)
-
unsetTime
public void unsetTime()
-
isSetTime
public boolean isSetTime()
Returns true if field time is set (has been assigned a value) and false otherwise
-
setTimeIsSet
public void setTimeIsSet(boolean value)
-
getValueListSize
public int getValueListSize()
-
getValueListIterator
public Iterator<ByteBuffer> getValueListIterator()
-
addToValueList
public void addToValueList(ByteBuffer elem)
-
getValueList
public List<ByteBuffer> getValueList()
-
setValueList
public TSQueryDataSet setValueList(List<ByteBuffer> valueList)
-
unsetValueList
public void unsetValueList()
-
isSetValueList
public boolean isSetValueList()
Returns true if field valueList is set (has been assigned a value) and false otherwise
-
setValueListIsSet
public void setValueListIsSet(boolean value)
-
getBitmapListSize
public int getBitmapListSize()
-
getBitmapListIterator
public Iterator<ByteBuffer> getBitmapListIterator()
-
addToBitmapList
public void addToBitmapList(ByteBuffer elem)
-
getBitmapList
public List<ByteBuffer> getBitmapList()
-
setBitmapList
public TSQueryDataSet setBitmapList(List<ByteBuffer> bitmapList)
-
unsetBitmapList
public void unsetBitmapList()
-
isSetBitmapList
public boolean isSetBitmapList()
Returns true if field bitmapList is set (has been assigned a value) and false otherwise
-
setBitmapListIsSet
public void setBitmapListIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TSQueryDataSet._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSQueryDataSet,TSQueryDataSet._Fields>
-
getFieldValue
public Object getFieldValue(TSQueryDataSet._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSQueryDataSet,TSQueryDataSet._Fields>
-
isSet
public boolean isSet(TSQueryDataSet._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<TSQueryDataSet,TSQueryDataSet._Fields>
-
equals
public boolean equals(TSQueryDataSet that)
-
compareTo
public int compareTo(TSQueryDataSet other)
- Specified by:
compareToin interfaceComparable<TSQueryDataSet>
-
fieldForId
public TSQueryDataSet._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSQueryDataSet,TSQueryDataSet._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
-
-