Class TSInsertRecordsReq
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSInsertRecordsReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSInsertRecordsReq>,org.apache.thrift.TBase<TSInsertRecordsReq,TSInsertRecordsReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSInsertRecordsReq extends Object implements org.apache.thrift.TBase<TSInsertRecordsReq,TSInsertRecordsReq._Fields>, Serializable, Cloneable, Comparable<TSInsertRecordsReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSInsertRecordsReq._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<TSInsertRecordsReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapList<String>prefixPathslongsessionIdList<Long>timestampsList<ByteBuffer>valuesList
-
Constructor Summary
Constructors Constructor Description TSInsertRecordsReq()TSInsertRecordsReq(long sessionId, List<String> prefixPaths, List<List<String>> measurementsList, List<ByteBuffer> valuesList, List<Long> timestamps)TSInsertRecordsReq(TSInsertRecordsReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToMeasurementsList(List<String> elem)voidaddToPrefixPaths(String elem)voidaddToTimestamps(long elem)voidaddToValuesList(ByteBuffer elem)voidclear()intcompareTo(TSInsertRecordsReq other)TSInsertRecordsReqdeepCopy()booleanequals(Object that)booleanequals(TSInsertRecordsReq that)TSInsertRecordsReq._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TSInsertRecordsReq._Fields field)List<List<String>>getMeasurementsList()Iterator<List<String>>getMeasurementsListIterator()intgetMeasurementsListSize()List<String>getPrefixPaths()Iterator<String>getPrefixPathsIterator()intgetPrefixPathsSize()longgetSessionId()List<Long>getTimestamps()Iterator<Long>getTimestampsIterator()intgetTimestampsSize()List<ByteBuffer>getValuesList()Iterator<ByteBuffer>getValuesListIterator()intgetValuesListSize()inthashCode()booleanisIsAligned()booleanisSet(TSInsertRecordsReq._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 otherwisebooleanisSetPrefixPaths()Returns true if field prefixPaths 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(TSInsertRecordsReq._Fields field, Object value)TSInsertRecordsReqsetIsAligned(boolean isAligned)voidsetIsAlignedIsSet(boolean value)TSInsertRecordsReqsetMeasurementsList(List<List<String>> measurementsList)voidsetMeasurementsListIsSet(boolean value)TSInsertRecordsReqsetPrefixPaths(List<String> prefixPaths)voidsetPrefixPathsIsSet(boolean value)TSInsertRecordsReqsetSessionId(long sessionId)voidsetSessionIdIsSet(boolean value)TSInsertRecordsReqsetTimestamps(List<Long> timestamps)voidsetTimestampsIsSet(boolean value)TSInsertRecordsReqsetValuesList(List<ByteBuffer> valuesList)voidsetValuesListIsSet(boolean value)StringtoString()voidunsetIsAligned()voidunsetMeasurementsList()voidunsetPrefixPaths()voidunsetSessionId()voidunsetTimestamps()voidunsetValuesList()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
sessionId
public long sessionId
-
valuesList
public List<ByteBuffer> valuesList
-
isAligned
public boolean isAligned
-
metaDataMap
public static final Map<TSInsertRecordsReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSInsertRecordsReq
public TSInsertRecordsReq()
-
TSInsertRecordsReq
public TSInsertRecordsReq(long sessionId, List<String> prefixPaths, List<List<String>> measurementsList, List<ByteBuffer> valuesList, List<Long> timestamps)
-
TSInsertRecordsReq
public TSInsertRecordsReq(TSInsertRecordsReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSInsertRecordsReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSInsertRecordsReq,TSInsertRecordsReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSInsertRecordsReq,TSInsertRecordsReq._Fields>
-
getSessionId
public long getSessionId()
-
setSessionId
public TSInsertRecordsReq 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)
-
getPrefixPathsSize
public int getPrefixPathsSize()
-
addToPrefixPaths
public void addToPrefixPaths(String elem)
-
setPrefixPaths
public TSInsertRecordsReq setPrefixPaths(List<String> prefixPaths)
-
unsetPrefixPaths
public void unsetPrefixPaths()
-
isSetPrefixPaths
public boolean isSetPrefixPaths()
Returns true if field prefixPaths is set (has been assigned a value) and false otherwise
-
setPrefixPathsIsSet
public void setPrefixPathsIsSet(boolean value)
-
getMeasurementsListSize
public int getMeasurementsListSize()
-
setMeasurementsList
public TSInsertRecordsReq 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 TSInsertRecordsReq 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 TSInsertRecordsReq 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 TSInsertRecordsReq 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(TSInsertRecordsReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSInsertRecordsReq,TSInsertRecordsReq._Fields>
-
getFieldValue
public Object getFieldValue(TSInsertRecordsReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSInsertRecordsReq,TSInsertRecordsReq._Fields>
-
isSet
public boolean isSet(TSInsertRecordsReq._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<TSInsertRecordsReq,TSInsertRecordsReq._Fields>
-
equals
public boolean equals(TSInsertRecordsReq that)
-
compareTo
public int compareTo(TSInsertRecordsReq other)
- Specified by:
compareToin interfaceComparable<TSInsertRecordsReq>
-
fieldForId
public TSInsertRecordsReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSInsertRecordsReq,TSInsertRecordsReq._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
-
-