Class TSCloseOperationReq
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSCloseOperationReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSCloseOperationReq>,org.apache.thrift.TBase<TSCloseOperationReq,TSCloseOperationReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSCloseOperationReq extends Object implements org.apache.thrift.TBase<TSCloseOperationReq,TSCloseOperationReq._Fields>, Serializable, Cloneable, Comparable<TSCloseOperationReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSCloseOperationReq._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<TSCloseOperationReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongqueryIdlongsessionIdlongstatementId
-
Constructor Summary
Constructors Constructor Description TSCloseOperationReq()TSCloseOperationReq(long sessionId)TSCloseOperationReq(TSCloseOperationReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TSCloseOperationReq other)TSCloseOperationReqdeepCopy()booleanequals(Object that)booleanequals(TSCloseOperationReq that)TSCloseOperationReq._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TSCloseOperationReq._Fields field)longgetQueryId()longgetSessionId()longgetStatementId()inthashCode()booleanisSet(TSCloseOperationReq._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 otherwisebooleanisSetStatementId()Returns true if field statementId is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TSCloseOperationReq._Fields field, Object value)TSCloseOperationReqsetQueryId(long queryId)voidsetQueryIdIsSet(boolean value)TSCloseOperationReqsetSessionId(long sessionId)voidsetSessionIdIsSet(boolean value)TSCloseOperationReqsetStatementId(long statementId)voidsetStatementIdIsSet(boolean value)StringtoString()voidunsetQueryId()voidunsetSessionId()voidunsetStatementId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
sessionId
public long sessionId
-
queryId
public long queryId
-
statementId
public long statementId
-
metaDataMap
public static final Map<TSCloseOperationReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSCloseOperationReq
public TSCloseOperationReq()
-
TSCloseOperationReq
public TSCloseOperationReq(long sessionId)
-
TSCloseOperationReq
public TSCloseOperationReq(TSCloseOperationReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSCloseOperationReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSCloseOperationReq,TSCloseOperationReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSCloseOperationReq,TSCloseOperationReq._Fields>
-
getSessionId
public long getSessionId()
-
setSessionId
public TSCloseOperationReq 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 TSCloseOperationReq 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)
-
getStatementId
public long getStatementId()
-
setStatementId
public TSCloseOperationReq setStatementId(long statementId)
-
unsetStatementId
public void unsetStatementId()
-
isSetStatementId
public boolean isSetStatementId()
Returns true if field statementId is set (has been assigned a value) and false otherwise
-
setStatementIdIsSet
public void setStatementIdIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TSCloseOperationReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSCloseOperationReq,TSCloseOperationReq._Fields>
-
getFieldValue
public Object getFieldValue(TSCloseOperationReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSCloseOperationReq,TSCloseOperationReq._Fields>
-
isSet
public boolean isSet(TSCloseOperationReq._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<TSCloseOperationReq,TSCloseOperationReq._Fields>
-
equals
public boolean equals(TSCloseOperationReq that)
-
compareTo
public int compareTo(TSCloseOperationReq other)
- Specified by:
compareToin interfaceComparable<TSCloseOperationReq>
-
fieldForId
public TSCloseOperationReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSCloseOperationReq,TSCloseOperationReq._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
-
-