Class TSCancelOperationReq
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSCancelOperationReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSCancelOperationReq>,org.apache.thrift.TBase<TSCancelOperationReq,TSCancelOperationReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSCancelOperationReq extends Object implements org.apache.thrift.TBase<TSCancelOperationReq,TSCancelOperationReq._Fields>, Serializable, Cloneable, Comparable<TSCancelOperationReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSCancelOperationReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<TSCancelOperationReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongqueryIdlongsessionId
-
Constructor Summary
Constructors Constructor Description TSCancelOperationReq()TSCancelOperationReq(long sessionId, long queryId)TSCancelOperationReq(TSCancelOperationReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TSCancelOperationReq other)TSCancelOperationReqdeepCopy()booleanequals(Object that)booleanequals(TSCancelOperationReq that)TSCancelOperationReq._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TSCancelOperationReq._Fields field)longgetQueryId()longgetSessionId()inthashCode()booleanisSet(TSCancelOperationReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetQueryId()Returns true if field queryId 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(TSCancelOperationReq._Fields field, Object value)TSCancelOperationReqsetQueryId(long queryId)voidsetQueryIdIsSet(boolean value)TSCancelOperationReqsetSessionId(long sessionId)voidsetSessionIdIsSet(boolean value)StringtoString()voidunsetQueryId()voidunsetSessionId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
sessionId
public long sessionId
-
queryId
public long queryId
-
metaDataMap
public static final Map<TSCancelOperationReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSCancelOperationReq
public TSCancelOperationReq()
-
TSCancelOperationReq
public TSCancelOperationReq(long sessionId, long queryId)
-
TSCancelOperationReq
public TSCancelOperationReq(TSCancelOperationReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSCancelOperationReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSCancelOperationReq,TSCancelOperationReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSCancelOperationReq,TSCancelOperationReq._Fields>
-
getSessionId
public long getSessionId()
-
setSessionId
public TSCancelOperationReq 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)
-
getQueryId
public long getQueryId()
-
setQueryId
public TSCancelOperationReq setQueryId(long queryId)
-
unsetQueryId
public void unsetQueryId()
-
isSetQueryId
public boolean isSetQueryId()
Returns true if field queryId is set (has been assigned a value) and false otherwise
-
setQueryIdIsSet
public void setQueryIdIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TSCancelOperationReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSCancelOperationReq,TSCancelOperationReq._Fields>
-
getFieldValue
public Object getFieldValue(TSCancelOperationReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSCancelOperationReq,TSCancelOperationReq._Fields>
-
isSet
public boolean isSet(TSCancelOperationReq._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<TSCancelOperationReq,TSCancelOperationReq._Fields>
-
equals
public boolean equals(TSCancelOperationReq that)
-
compareTo
public int compareTo(TSCancelOperationReq other)
- Specified by:
compareToin interfaceComparable<TSCancelOperationReq>
-
fieldForId
public TSCancelOperationReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSCancelOperationReq,TSCancelOperationReq._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
-
-