Class TSInsertStringRecordsOfOneDeviceReq
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSInsertStringRecordsOfOneDeviceReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSInsertStringRecordsOfOneDeviceReq>,org.apache.thrift.TBase<TSInsertStringRecordsOfOneDeviceReq,TSInsertStringRecordsOfOneDeviceReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSInsertStringRecordsOfOneDeviceReq extends Object implements org.apache.thrift.TBase<TSInsertStringRecordsOfOneDeviceReq,TSInsertStringRecordsOfOneDeviceReq._Fields>, Serializable, Cloneable, Comparable<TSInsertStringRecordsOfOneDeviceReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSInsertStringRecordsOfOneDeviceReq._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<TSInsertStringRecordsOfOneDeviceReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringprefixPathlongsessionIdList<Long>timestampsList<List<String>>valuesList
-
Constructor Summary
Constructors Constructor Description TSInsertStringRecordsOfOneDeviceReq()TSInsertStringRecordsOfOneDeviceReq(long sessionId, String prefixPath, List<List<String>> measurementsList, List<List<String>> valuesList, List<Long> timestamps)TSInsertStringRecordsOfOneDeviceReq(TSInsertStringRecordsOfOneDeviceReq other)Performs a deep copy on other.
-
Method Summary
-
-
-
Field Detail
-
sessionId
public long sessionId
-
prefixPath
public String prefixPath
-
isAligned
public boolean isAligned
-
metaDataMap
public static final Map<TSInsertStringRecordsOfOneDeviceReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSInsertStringRecordsOfOneDeviceReq
public TSInsertStringRecordsOfOneDeviceReq()
-
TSInsertStringRecordsOfOneDeviceReq
public TSInsertStringRecordsOfOneDeviceReq(long sessionId, String prefixPath, List<List<String>> measurementsList, List<List<String>> valuesList, List<Long> timestamps)
-
TSInsertStringRecordsOfOneDeviceReq
public TSInsertStringRecordsOfOneDeviceReq(TSInsertStringRecordsOfOneDeviceReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSInsertStringRecordsOfOneDeviceReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSInsertStringRecordsOfOneDeviceReq,TSInsertStringRecordsOfOneDeviceReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSInsertStringRecordsOfOneDeviceReq,TSInsertStringRecordsOfOneDeviceReq._Fields>
-
getSessionId
public long getSessionId()
-
setSessionId
public TSInsertStringRecordsOfOneDeviceReq 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 TSInsertStringRecordsOfOneDeviceReq 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 TSInsertStringRecordsOfOneDeviceReq 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()
-
setValuesList
public TSInsertStringRecordsOfOneDeviceReq setValuesList(List<List<String>> 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 TSInsertStringRecordsOfOneDeviceReq 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 TSInsertStringRecordsOfOneDeviceReq 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(TSInsertStringRecordsOfOneDeviceReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSInsertStringRecordsOfOneDeviceReq,TSInsertStringRecordsOfOneDeviceReq._Fields>
-
getFieldValue
public Object getFieldValue(TSInsertStringRecordsOfOneDeviceReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSInsertStringRecordsOfOneDeviceReq,TSInsertStringRecordsOfOneDeviceReq._Fields>
-
isSet
public boolean isSet(TSInsertStringRecordsOfOneDeviceReq._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<TSInsertStringRecordsOfOneDeviceReq,TSInsertStringRecordsOfOneDeviceReq._Fields>
-
equals
public boolean equals(TSInsertStringRecordsOfOneDeviceReq that)
-
compareTo
public int compareTo(TSInsertStringRecordsOfOneDeviceReq other)
- Specified by:
compareToin interfaceComparable<TSInsertStringRecordsOfOneDeviceReq>
-
fieldForId
public TSInsertStringRecordsOfOneDeviceReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSInsertStringRecordsOfOneDeviceReq,TSInsertStringRecordsOfOneDeviceReq._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
-
-