Class TSInsertTabletReq
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSInsertTabletReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSInsertTabletReq>,org.apache.thrift.TBase<TSInsertTabletReq,TSInsertTabletReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSInsertTabletReq extends Object implements org.apache.thrift.TBase<TSInsertTabletReq,TSInsertTabletReq._Fields>, Serializable, Cloneable, Comparable<TSInsertTabletReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSInsertTabletReq._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<TSInsertTabletReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringprefixPathlongsessionIdintsizeByteBuffertimestampsList<Integer>typesByteBuffervalues
-
Constructor Summary
Constructors Constructor Description TSInsertTabletReq()TSInsertTabletReq(long sessionId, String prefixPath, List<String> measurements, ByteBuffer values, ByteBuffer timestamps, List<Integer> types, int size)TSInsertTabletReq(TSInsertTabletReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToMeasurements(String elem)voidaddToTypes(int elem)ByteBufferbufferForTimestamps()ByteBufferbufferForValues()voidclear()intcompareTo(TSInsertTabletReq other)TSInsertTabletReqdeepCopy()booleanequals(Object that)booleanequals(TSInsertTabletReq that)TSInsertTabletReq._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TSInsertTabletReq._Fields field)List<String>getMeasurements()Iterator<String>getMeasurementsIterator()intgetMeasurementsSize()StringgetPrefixPath()longgetSessionId()intgetSize()byte[]getTimestamps()List<Integer>getTypes()Iterator<Integer>getTypesIterator()intgetTypesSize()byte[]getValues()inthashCode()booleanisIsAligned()booleanisSet(TSInsertTabletReq._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 otherwisebooleanisSetSize()Returns true if field size is set (has been assigned a value) and false otherwisebooleanisSetTimestamps()Returns true if field timestamps is set (has been assigned a value) and false otherwisebooleanisSetTypes()Returns true if field types 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(TSInsertTabletReq._Fields field, Object value)TSInsertTabletReqsetIsAligned(boolean isAligned)voidsetIsAlignedIsSet(boolean value)TSInsertTabletReqsetMeasurements(List<String> measurements)voidsetMeasurementsIsSet(boolean value)TSInsertTabletReqsetPrefixPath(String prefixPath)voidsetPrefixPathIsSet(boolean value)TSInsertTabletReqsetSessionId(long sessionId)voidsetSessionIdIsSet(boolean value)TSInsertTabletReqsetSize(int size)voidsetSizeIsSet(boolean value)TSInsertTabletReqsetTimestamps(byte[] timestamps)TSInsertTabletReqsetTimestamps(ByteBuffer timestamps)voidsetTimestampsIsSet(boolean value)TSInsertTabletReqsetTypes(List<Integer> types)voidsetTypesIsSet(boolean value)TSInsertTabletReqsetValues(byte[] values)TSInsertTabletReqsetValues(ByteBuffer values)voidsetValuesIsSet(boolean value)StringtoString()voidunsetIsAligned()voidunsetMeasurements()voidunsetPrefixPath()voidunsetSessionId()voidunsetSize()voidunsetTimestamps()voidunsetTypes()voidunsetValues()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
sessionId
public long sessionId
-
prefixPath
public String prefixPath
-
values
public ByteBuffer values
-
timestamps
public ByteBuffer timestamps
-
size
public int size
-
isAligned
public boolean isAligned
-
metaDataMap
public static final Map<TSInsertTabletReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSInsertTabletReq
public TSInsertTabletReq()
-
TSInsertTabletReq
public TSInsertTabletReq(long sessionId, String prefixPath, List<String> measurements, ByteBuffer values, ByteBuffer timestamps, List<Integer> types, int size)
-
TSInsertTabletReq
public TSInsertTabletReq(TSInsertTabletReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSInsertTabletReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSInsertTabletReq,TSInsertTabletReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSInsertTabletReq,TSInsertTabletReq._Fields>
-
getSessionId
public long getSessionId()
-
setSessionId
public TSInsertTabletReq 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 TSInsertTabletReq 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 TSInsertTabletReq 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)
-
getValues
public byte[] getValues()
-
bufferForValues
public ByteBuffer bufferForValues()
-
setValues
public TSInsertTabletReq setValues(byte[] values)
-
setValues
public TSInsertTabletReq setValues(ByteBuffer 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)
-
getTimestamps
public byte[] getTimestamps()
-
bufferForTimestamps
public ByteBuffer bufferForTimestamps()
-
setTimestamps
public TSInsertTabletReq setTimestamps(byte[] timestamps)
-
setTimestamps
public TSInsertTabletReq setTimestamps(ByteBuffer 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)
-
getTypesSize
public int getTypesSize()
-
addToTypes
public void addToTypes(int elem)
-
setTypes
public TSInsertTabletReq setTypes(List<Integer> types)
-
unsetTypes
public void unsetTypes()
-
isSetTypes
public boolean isSetTypes()
Returns true if field types is set (has been assigned a value) and false otherwise
-
setTypesIsSet
public void setTypesIsSet(boolean value)
-
getSize
public int getSize()
-
setSize
public TSInsertTabletReq setSize(int size)
-
unsetSize
public void unsetSize()
-
isSetSize
public boolean isSetSize()
Returns true if field size is set (has been assigned a value) and false otherwise
-
setSizeIsSet
public void setSizeIsSet(boolean value)
-
isIsAligned
public boolean isIsAligned()
-
setIsAligned
public TSInsertTabletReq 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(TSInsertTabletReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSInsertTabletReq,TSInsertTabletReq._Fields>
-
getFieldValue
public Object getFieldValue(TSInsertTabletReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSInsertTabletReq,TSInsertTabletReq._Fields>
-
isSet
public boolean isSet(TSInsertTabletReq._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<TSInsertTabletReq,TSInsertTabletReq._Fields>
-
equals
public boolean equals(TSInsertTabletReq that)
-
compareTo
public int compareTo(TSInsertTabletReq other)
- Specified by:
compareToin interfaceComparable<TSInsertTabletReq>
-
fieldForId
public TSInsertTabletReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSInsertTabletReq,TSInsertTabletReq._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
-
-