Class TSInsertStringRecordReq
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSInsertStringRecordReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSInsertStringRecordReq>,org.apache.thrift.TBase<TSInsertStringRecordReq,TSInsertStringRecordReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSInsertStringRecordReq extends Object implements org.apache.thrift.TBase<TSInsertStringRecordReq,TSInsertStringRecordReq._Fields>, Serializable, Cloneable, Comparable<TSInsertStringRecordReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSInsertStringRecordReq._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<String>measurementsstatic Map<TSInsertStringRecordReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringprefixPathlongsessionIdlongtimeoutlongtimestampList<String>values
-
Constructor Summary
Constructors Constructor Description TSInsertStringRecordReq()TSInsertStringRecordReq(long sessionId, String prefixPath, List<String> measurements, List<String> values, long timestamp)TSInsertStringRecordReq(TSInsertStringRecordReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToMeasurements(String elem)voidaddToValues(String elem)voidclear()intcompareTo(TSInsertStringRecordReq other)TSInsertStringRecordReqdeepCopy()booleanequals(Object that)booleanequals(TSInsertStringRecordReq that)TSInsertStringRecordReq._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TSInsertStringRecordReq._Fields field)List<String>getMeasurements()Iterator<String>getMeasurementsIterator()intgetMeasurementsSize()StringgetPrefixPath()longgetSessionId()longgetTimeout()longgetTimestamp()List<String>getValues()Iterator<String>getValuesIterator()intgetValuesSize()inthashCode()booleanisIsAligned()booleanisSet(TSInsertStringRecordReq._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 otherwisebooleanisSetMeasurements()Returns true if field measurements 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 otherwisebooleanisSetTimeout()Returns true if field timeout is set (has been assigned a value) and false otherwisebooleanisSetTimestamp()Returns true if field timestamp is set (has been assigned a value) and false otherwisebooleanisSetValues()Returns true if field values is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TSInsertStringRecordReq._Fields field, Object value)TSInsertStringRecordReqsetIsAligned(boolean isAligned)voidsetIsAlignedIsSet(boolean value)TSInsertStringRecordReqsetMeasurements(List<String> measurements)voidsetMeasurementsIsSet(boolean value)TSInsertStringRecordReqsetPrefixPath(String prefixPath)voidsetPrefixPathIsSet(boolean value)TSInsertStringRecordReqsetSessionId(long sessionId)voidsetSessionIdIsSet(boolean value)TSInsertStringRecordReqsetTimeout(long timeout)voidsetTimeoutIsSet(boolean value)TSInsertStringRecordReqsetTimestamp(long timestamp)voidsetTimestampIsSet(boolean value)TSInsertStringRecordReqsetValues(List<String> values)voidsetValuesIsSet(boolean value)StringtoString()voidunsetIsAligned()voidunsetMeasurements()voidunsetPrefixPath()voidunsetSessionId()voidunsetTimeout()voidunsetTimestamp()voidunsetValues()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
sessionId
public long sessionId
-
prefixPath
public String prefixPath
-
timestamp
public long timestamp
-
isAligned
public boolean isAligned
-
timeout
public long timeout
-
metaDataMap
public static final Map<TSInsertStringRecordReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSInsertStringRecordReq
public TSInsertStringRecordReq()
-
TSInsertStringRecordReq
public TSInsertStringRecordReq(long sessionId, String prefixPath, List<String> measurements, List<String> values, long timestamp)
-
TSInsertStringRecordReq
public TSInsertStringRecordReq(TSInsertStringRecordReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSInsertStringRecordReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSInsertStringRecordReq,TSInsertStringRecordReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSInsertStringRecordReq,TSInsertStringRecordReq._Fields>
-
getSessionId
public long getSessionId()
-
setSessionId
public TSInsertStringRecordReq 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 TSInsertStringRecordReq 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)
-
getMeasurementsSize
public int getMeasurementsSize()
-
addToMeasurements
public void addToMeasurements(String elem)
-
setMeasurements
public TSInsertStringRecordReq setMeasurements(List<String> measurements)
-
unsetMeasurements
public void unsetMeasurements()
-
isSetMeasurements
public boolean isSetMeasurements()
Returns true if field measurements is set (has been assigned a value) and false otherwise
-
setMeasurementsIsSet
public void setMeasurementsIsSet(boolean value)
-
getValuesSize
public int getValuesSize()
-
addToValues
public void addToValues(String elem)
-
setValues
public TSInsertStringRecordReq setValues(List<String> values)
-
unsetValues
public void unsetValues()
-
isSetValues
public boolean isSetValues()
Returns true if field values is set (has been assigned a value) and false otherwise
-
setValuesIsSet
public void setValuesIsSet(boolean value)
-
getTimestamp
public long getTimestamp()
-
setTimestamp
public TSInsertStringRecordReq setTimestamp(long timestamp)
-
unsetTimestamp
public void unsetTimestamp()
-
isSetTimestamp
public boolean isSetTimestamp()
Returns true if field timestamp is set (has been assigned a value) and false otherwise
-
setTimestampIsSet
public void setTimestampIsSet(boolean value)
-
isIsAligned
public boolean isIsAligned()
-
setIsAligned
public TSInsertStringRecordReq 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)
-
getTimeout
public long getTimeout()
-
setTimeout
public TSInsertStringRecordReq setTimeout(long timeout)
-
unsetTimeout
public void unsetTimeout()
-
isSetTimeout
public boolean isSetTimeout()
Returns true if field timeout is set (has been assigned a value) and false otherwise
-
setTimeoutIsSet
public void setTimeoutIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TSInsertStringRecordReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSInsertStringRecordReq,TSInsertStringRecordReq._Fields>
-
getFieldValue
public Object getFieldValue(TSInsertStringRecordReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSInsertStringRecordReq,TSInsertStringRecordReq._Fields>
-
isSet
public boolean isSet(TSInsertStringRecordReq._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<TSInsertStringRecordReq,TSInsertStringRecordReq._Fields>
-
equals
public boolean equals(TSInsertStringRecordReq that)
-
compareTo
public int compareTo(TSInsertStringRecordReq other)
- Specified by:
compareToin interfaceComparable<TSInsertStringRecordReq>
-
fieldForId
public TSInsertStringRecordReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSInsertStringRecordReq,TSInsertStringRecordReq._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
-
-