Class TSQueryTemplateReq
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSQueryTemplateReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSQueryTemplateReq>,org.apache.thrift.TBase<TSQueryTemplateReq,TSQueryTemplateReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSQueryTemplateReq extends Object implements org.apache.thrift.TBase<TSQueryTemplateReq,TSQueryTemplateReq._Fields>, Serializable, Cloneable, Comparable<TSQueryTemplateReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSQueryTemplateReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description Stringmeasurementstatic Map<TSQueryTemplateReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringnameintqueryTypelongsessionId
-
Constructor Summary
Constructors Constructor Description TSQueryTemplateReq()TSQueryTemplateReq(long sessionId, String name, int queryType)TSQueryTemplateReq(TSQueryTemplateReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TSQueryTemplateReq other)TSQueryTemplateReqdeepCopy()booleanequals(Object that)booleanequals(TSQueryTemplateReq that)TSQueryTemplateReq._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TSQueryTemplateReq._Fields field)StringgetMeasurement()StringgetName()intgetQueryType()longgetSessionId()inthashCode()booleanisSet(TSQueryTemplateReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetMeasurement()Returns true if field measurement is set (has been assigned a value) and false otherwisebooleanisSetName()Returns true if field name is set (has been assigned a value) and false otherwisebooleanisSetQueryType()Returns true if field queryType is set (has been assigned a value) and false otherwisebooleanisSetSessionId()Returns true if field sessionId is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TSQueryTemplateReq._Fields field, Object value)TSQueryTemplateReqsetMeasurement(String measurement)voidsetMeasurementIsSet(boolean value)TSQueryTemplateReqsetName(String name)voidsetNameIsSet(boolean value)TSQueryTemplateReqsetQueryType(int queryType)voidsetQueryTypeIsSet(boolean value)TSQueryTemplateReqsetSessionId(long sessionId)voidsetSessionIdIsSet(boolean value)StringtoString()voidunsetMeasurement()voidunsetName()voidunsetQueryType()voidunsetSessionId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
sessionId
public long sessionId
-
name
public String name
-
queryType
public int queryType
-
measurement
public String measurement
-
metaDataMap
public static final Map<TSQueryTemplateReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSQueryTemplateReq
public TSQueryTemplateReq()
-
TSQueryTemplateReq
public TSQueryTemplateReq(long sessionId, String name, int queryType)
-
TSQueryTemplateReq
public TSQueryTemplateReq(TSQueryTemplateReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSQueryTemplateReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSQueryTemplateReq,TSQueryTemplateReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSQueryTemplateReq,TSQueryTemplateReq._Fields>
-
getSessionId
public long getSessionId()
-
setSessionId
public TSQueryTemplateReq 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)
-
getName
public String getName()
-
setName
public TSQueryTemplateReq setName(String name)
-
unsetName
public void unsetName()
-
isSetName
public boolean isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise
-
setNameIsSet
public void setNameIsSet(boolean value)
-
getQueryType
public int getQueryType()
-
setQueryType
public TSQueryTemplateReq setQueryType(int queryType)
-
unsetQueryType
public void unsetQueryType()
-
isSetQueryType
public boolean isSetQueryType()
Returns true if field queryType is set (has been assigned a value) and false otherwise
-
setQueryTypeIsSet
public void setQueryTypeIsSet(boolean value)
-
getMeasurement
public String getMeasurement()
-
setMeasurement
public TSQueryTemplateReq setMeasurement(String measurement)
-
unsetMeasurement
public void unsetMeasurement()
-
isSetMeasurement
public boolean isSetMeasurement()
Returns true if field measurement is set (has been assigned a value) and false otherwise
-
setMeasurementIsSet
public void setMeasurementIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TSQueryTemplateReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSQueryTemplateReq,TSQueryTemplateReq._Fields>
-
getFieldValue
public Object getFieldValue(TSQueryTemplateReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSQueryTemplateReq,TSQueryTemplateReq._Fields>
-
isSet
public boolean isSet(TSQueryTemplateReq._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<TSQueryTemplateReq,TSQueryTemplateReq._Fields>
-
equals
public boolean equals(TSQueryTemplateReq that)
-
compareTo
public int compareTo(TSQueryTemplateReq other)
- Specified by:
compareToin interfaceComparable<TSQueryTemplateReq>
-
fieldForId
public TSQueryTemplateReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSQueryTemplateReq,TSQueryTemplateReq._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
-
-