Class TSInsertTabletsReq
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSInsertTabletsReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSInsertTabletsReq>,org.apache.thrift.TBase<TSInsertTabletsReq,TSInsertTabletsReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSInsertTabletsReq extends Object implements org.apache.thrift.TBase<TSInsertTabletsReq,TSInsertTabletsReq._Fields>, Serializable, Cloneable, Comparable<TSInsertTabletsReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSInsertTabletsReq._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<TSInsertTabletsReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapList<String>prefixPathslongsessionIdList<Integer>sizeListList<ByteBuffer>timestampsListList<List<Integer>>typesListList<ByteBuffer>valuesList
-
Constructor Summary
Constructors Constructor Description TSInsertTabletsReq()TSInsertTabletsReq(long sessionId, List<String> prefixPaths, List<List<String>> measurementsList, List<ByteBuffer> valuesList, List<ByteBuffer> timestampsList, List<List<Integer>> typesList, List<Integer> sizeList)TSInsertTabletsReq(TSInsertTabletsReq 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)voidaddToSizeList(int elem)voidaddToTimestampsList(ByteBuffer elem)voidaddToTypesList(List<Integer> elem)voidaddToValuesList(ByteBuffer elem)voidclear()intcompareTo(TSInsertTabletsReq other)TSInsertTabletsReqdeepCopy()booleanequals(Object that)booleanequals(TSInsertTabletsReq that)TSInsertTabletsReq._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TSInsertTabletsReq._Fields field)List<List<String>>getMeasurementsList()Iterator<List<String>>getMeasurementsListIterator()intgetMeasurementsListSize()List<String>getPrefixPaths()Iterator<String>getPrefixPathsIterator()intgetPrefixPathsSize()longgetSessionId()List<Integer>getSizeList()Iterator<Integer>getSizeListIterator()intgetSizeListSize()List<ByteBuffer>getTimestampsList()Iterator<ByteBuffer>getTimestampsListIterator()intgetTimestampsListSize()List<List<Integer>>getTypesList()Iterator<List<Integer>>getTypesListIterator()intgetTypesListSize()List<ByteBuffer>getValuesList()Iterator<ByteBuffer>getValuesListIterator()intgetValuesListSize()inthashCode()booleanisIsAligned()booleanisSet(TSInsertTabletsReq._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 otherwisebooleanisSetSizeList()Returns true if field sizeList is set (has been assigned a value) and false otherwisebooleanisSetTimestampsList()Returns true if field timestampsList is set (has been assigned a value) and false otherwisebooleanisSetTypesList()Returns true if field typesList 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(TSInsertTabletsReq._Fields field, Object value)TSInsertTabletsReqsetIsAligned(boolean isAligned)voidsetIsAlignedIsSet(boolean value)TSInsertTabletsReqsetMeasurementsList(List<List<String>> measurementsList)voidsetMeasurementsListIsSet(boolean value)TSInsertTabletsReqsetPrefixPaths(List<String> prefixPaths)voidsetPrefixPathsIsSet(boolean value)TSInsertTabletsReqsetSessionId(long sessionId)voidsetSessionIdIsSet(boolean value)TSInsertTabletsReqsetSizeList(List<Integer> sizeList)voidsetSizeListIsSet(boolean value)TSInsertTabletsReqsetTimestampsList(List<ByteBuffer> timestampsList)voidsetTimestampsListIsSet(boolean value)TSInsertTabletsReqsetTypesList(List<List<Integer>> typesList)voidsetTypesListIsSet(boolean value)TSInsertTabletsReqsetValuesList(List<ByteBuffer> valuesList)voidsetValuesListIsSet(boolean value)StringtoString()voidunsetIsAligned()voidunsetMeasurementsList()voidunsetPrefixPaths()voidunsetSessionId()voidunsetSizeList()voidunsetTimestampsList()voidunsetTypesList()voidunsetValuesList()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
sessionId
public long sessionId
-
valuesList
public List<ByteBuffer> valuesList
-
timestampsList
public List<ByteBuffer> timestampsList
-
isAligned
public boolean isAligned
-
metaDataMap
public static final Map<TSInsertTabletsReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSInsertTabletsReq
public TSInsertTabletsReq()
-
TSInsertTabletsReq
public TSInsertTabletsReq(long sessionId, List<String> prefixPaths, List<List<String>> measurementsList, List<ByteBuffer> valuesList, List<ByteBuffer> timestampsList, List<List<Integer>> typesList, List<Integer> sizeList)
-
TSInsertTabletsReq
public TSInsertTabletsReq(TSInsertTabletsReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSInsertTabletsReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSInsertTabletsReq,TSInsertTabletsReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSInsertTabletsReq,TSInsertTabletsReq._Fields>
-
getSessionId
public long getSessionId()
-
setSessionId
public TSInsertTabletsReq 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 TSInsertTabletsReq 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 TSInsertTabletsReq 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 TSInsertTabletsReq 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)
-
getTimestampsListSize
public int getTimestampsListSize()
-
getTimestampsListIterator
public Iterator<ByteBuffer> getTimestampsListIterator()
-
addToTimestampsList
public void addToTimestampsList(ByteBuffer elem)
-
getTimestampsList
public List<ByteBuffer> getTimestampsList()
-
setTimestampsList
public TSInsertTabletsReq setTimestampsList(List<ByteBuffer> timestampsList)
-
unsetTimestampsList
public void unsetTimestampsList()
-
isSetTimestampsList
public boolean isSetTimestampsList()
Returns true if field timestampsList is set (has been assigned a value) and false otherwise
-
setTimestampsListIsSet
public void setTimestampsListIsSet(boolean value)
-
getTypesListSize
public int getTypesListSize()
-
setTypesList
public TSInsertTabletsReq setTypesList(List<List<Integer>> typesList)
-
unsetTypesList
public void unsetTypesList()
-
isSetTypesList
public boolean isSetTypesList()
Returns true if field typesList is set (has been assigned a value) and false otherwise
-
setTypesListIsSet
public void setTypesListIsSet(boolean value)
-
getSizeListSize
public int getSizeListSize()
-
addToSizeList
public void addToSizeList(int elem)
-
setSizeList
public TSInsertTabletsReq setSizeList(List<Integer> sizeList)
-
unsetSizeList
public void unsetSizeList()
-
isSetSizeList
public boolean isSetSizeList()
Returns true if field sizeList is set (has been assigned a value) and false otherwise
-
setSizeListIsSet
public void setSizeListIsSet(boolean value)
-
isIsAligned
public boolean isIsAligned()
-
setIsAligned
public TSInsertTabletsReq 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(TSInsertTabletsReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSInsertTabletsReq,TSInsertTabletsReq._Fields>
-
getFieldValue
public Object getFieldValue(TSInsertTabletsReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSInsertTabletsReq,TSInsertTabletsReq._Fields>
-
isSet
public boolean isSet(TSInsertTabletsReq._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<TSInsertTabletsReq,TSInsertTabletsReq._Fields>
-
equals
public boolean equals(TSInsertTabletsReq that)
-
compareTo
public int compareTo(TSInsertTabletsReq other)
- Specified by:
compareToin interfaceComparable<TSInsertTabletsReq>
-
fieldForId
public TSInsertTabletsReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSInsertTabletsReq,TSInsertTabletsReq._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
-
-