Class TSInsertRecordsOfOneDeviceReq
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSInsertRecordsOfOneDeviceReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSInsertRecordsOfOneDeviceReq>,org.apache.thrift.TBase<TSInsertRecordsOfOneDeviceReq,TSInsertRecordsOfOneDeviceReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSInsertRecordsOfOneDeviceReq extends Object implements org.apache.thrift.TBase<TSInsertRecordsOfOneDeviceReq,TSInsertRecordsOfOneDeviceReq._Fields>, Serializable, Cloneable, Comparable<TSInsertRecordsOfOneDeviceReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSInsertRecordsOfOneDeviceReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description booleanisAlignedList<List<String>>measurementsListstatic Map<TSInsertRecordsOfOneDeviceReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringprefixPathlongsessionIdList<Long>timestampsList<ByteBuffer>valuesList
-
Constructor Summary
Constructors Constructor Description TSInsertRecordsOfOneDeviceReq()TSInsertRecordsOfOneDeviceReq(long sessionId, String prefixPath, List<List<String>> measurementsList, List<ByteBuffer> valuesList, List<Long> timestamps)TSInsertRecordsOfOneDeviceReq(TSInsertRecordsOfOneDeviceReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToMeasurementsList(List<String> elem)voidaddToTimestamps(long elem)voidaddToValuesList(ByteBuffer elem)voidclear()intcompareTo(TSInsertRecordsOfOneDeviceReq other)TSInsertRecordsOfOneDeviceReqdeepCopy()booleanequals(Object that)booleanequals(TSInsertRecordsOfOneDeviceReq that)TSInsertRecordsOfOneDeviceReq._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TSInsertRecordsOfOneDeviceReq._Fields field)List<List<String>>getMeasurementsList()Iterator<List<String>>getMeasurementsListIterator()intgetMeasurementsListSize()StringgetPrefixPath()longgetSessionId()List<Long>getTimestamps()Iterator<Long>getTimestampsIterator()intgetTimestampsSize()List<ByteBuffer>getValuesList()Iterator<ByteBuffer>getValuesListIterator()intgetValuesListSize()inthashCode()booleanisIsAligned()booleanisSet(TSInsertRecordsOfOneDeviceReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetIsAligned()Returns true if field isAligned is set (has been assigned a value) and false otherwisebooleanisSetMeasurementsList()Returns true if field measurementsList is set (has been assigned a value) and false otherwisebooleanisSetPrefixPath()Returns true if field prefixPath is set (has been assigned a value) and false otherwisebooleanisSetSessionId()Returns true if field sessionId is set (has been assigned a value) and false otherwisebooleanisSetTimestamps()Returns true if field timestamps is set (has been assigned a value) and false otherwisebooleanisSetValuesList()Returns true if field valuesList is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TSInsertRecordsOfOneDeviceReq._Fields field, Object value)TSInsertRecordsOfOneDeviceReqsetIsAligned(boolean isAligned)voidsetIsAlignedIsSet(boolean value)TSInsertRecordsOfOneDeviceReqsetMeasurementsList(List<List<String>> measurementsList)voidsetMeasurementsListIsSet(boolean value)TSInsertRecordsOfOneDeviceReqsetPrefixPath(String prefixPath)voidsetPrefixPathIsSet(boolean value)TSInsertRecordsOfOneDeviceReqsetSessionId(long sessionId)voidsetSessionIdIsSet(boolean value)TSInsertRecordsOfOneDeviceReqsetTimestamps(List<Long> timestamps)voidsetTimestampsIsSet(boolean value)TSInsertRecordsOfOneDeviceReqsetValuesList(List<ByteBuffer> valuesList)voidsetValuesListIsSet(boolean value)StringtoString()voidunsetIsAligned()voidunsetMeasurementsList()voidunsetPrefixPath()voidunsetSessionId()voidunsetTimestamps()voidunsetValuesList()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
sessionId
public long sessionId
-
prefixPath
public String prefixPath
-
valuesList
public List<ByteBuffer> valuesList
-
isAligned
public boolean isAligned
-
metaDataMap
public static final Map<TSInsertRecordsOfOneDeviceReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSInsertRecordsOfOneDeviceReq
public TSInsertRecordsOfOneDeviceReq()
-
TSInsertRecordsOfOneDeviceReq
public TSInsertRecordsOfOneDeviceReq(long sessionId, String prefixPath, List<List<String>> measurementsList, List<ByteBuffer> valuesList, List<Long> timestamps)
-
TSInsertRecordsOfOneDeviceReq
public TSInsertRecordsOfOneDeviceReq(TSInsertRecordsOfOneDeviceReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSInsertRecordsOfOneDeviceReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSInsertRecordsOfOneDeviceReq,TSInsertRecordsOfOneDeviceReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSInsertRecordsOfOneDeviceReq,TSInsertRecordsOfOneDeviceReq._Fields>
-
getSessionId
public long getSessionId()
-
setSessionId
public TSInsertRecordsOfOneDeviceReq setSessionId(long sessionId)
-
unsetSessionId
public void unsetSessionId()
-
isSetSessionId
public boolean isSetSessionId()
Returns true if field sessionId is set (has been assigned a value) and false otherwise
-
setSessionIdIsSet
public void setSessionIdIsSet(boolean value)
-
getPrefixPath
public String getPrefixPath()
-
setPrefixPath
public TSInsertRecordsOfOneDeviceReq setPrefixPath(String prefixPath)
-
unsetPrefixPath
public void unsetPrefixPath()
-
isSetPrefixPath
public boolean isSetPrefixPath()
Returns true if field prefixPath is set (has been assigned a value) and false otherwise
-
setPrefixPathIsSet
public void setPrefixPathIsSet(boolean value)
-
getMeasurementsListSize
public int getMeasurementsListSize()
-
setMeasurementsList
public TSInsertRecordsOfOneDeviceReq setMeasurementsList(List<List<String>> measurementsList)
-
unsetMeasurementsList
public void unsetMeasurementsList()
-
isSetMeasurementsList
public boolean isSetMeasurementsList()
Returns true if field measurementsList is set (has been assigned a value) and false otherwise
-
setMeasurementsListIsSet
public void setMeasurementsListIsSet(boolean value)
-
getValuesListSize
public int getValuesListSize()
-
getValuesListIterator
public Iterator<ByteBuffer> getValuesListIterator()
-
addToValuesList
public void addToValuesList(ByteBuffer elem)
-
getValuesList
public List<ByteBuffer> getValuesList()
-
setValuesList
public TSInsertRecordsOfOneDeviceReq setValuesList(List<ByteBuffer> valuesList)
-
unsetValuesList
public void unsetValuesList()
-
isSetValuesList
public boolean isSetValuesList()
Returns true if field valuesList is set (has been assigned a value) and false otherwise
-
setValuesListIsSet
public void setValuesListIsSet(boolean value)
-
getTimestampsSize
public int getTimestampsSize()
-
addToTimestamps
public void addToTimestamps(long elem)
-
setTimestamps
public TSInsertRecordsOfOneDeviceReq setTimestamps(List<Long> timestamps)
-
unsetTimestamps
public void unsetTimestamps()
-
isSetTimestamps
public boolean isSetTimestamps()
Returns true if field timestamps is set (has been assigned a value) and false otherwise
-
setTimestampsIsSet
public void setTimestampsIsSet(boolean value)
-
isIsAligned
public boolean isIsAligned()
-
setIsAligned
public TSInsertRecordsOfOneDeviceReq setIsAligned(boolean isAligned)
-
unsetIsAligned
public void unsetIsAligned()
-
isSetIsAligned
public boolean isSetIsAligned()
Returns true if field isAligned is set (has been assigned a value) and false otherwise
-
setIsAlignedIsSet
public void setIsAlignedIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TSInsertRecordsOfOneDeviceReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSInsertRecordsOfOneDeviceReq,TSInsertRecordsOfOneDeviceReq._Fields>
-
getFieldValue
public Object getFieldValue(TSInsertRecordsOfOneDeviceReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSInsertRecordsOfOneDeviceReq,TSInsertRecordsOfOneDeviceReq._Fields>
-
isSet
public boolean isSet(TSInsertRecordsOfOneDeviceReq._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<TSInsertRecordsOfOneDeviceReq,TSInsertRecordsOfOneDeviceReq._Fields>
-
equals
public boolean equals(TSInsertRecordsOfOneDeviceReq that)
-
compareTo
public int compareTo(TSInsertRecordsOfOneDeviceReq other)
- Specified by:
compareToin interfaceComparable<TSInsertRecordsOfOneDeviceReq>
-
fieldForId
public TSInsertRecordsOfOneDeviceReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSInsertRecordsOfOneDeviceReq,TSInsertRecordsOfOneDeviceReq._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
-
-