Class TSOpenSessionResp
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSOpenSessionResp
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSOpenSessionResp>,org.apache.thrift.TBase<TSOpenSessionResp,TSOpenSessionResp._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSOpenSessionResp extends Object implements org.apache.thrift.TBase<TSOpenSessionResp,TSOpenSessionResp._Fields>, Serializable, Cloneable, Comparable<TSOpenSessionResp>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSOpenSessionResp._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description Map<String,String>configurationstatic Map<TSOpenSessionResp._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTSProtocolVersionserverProtocolVersionlongsessionIdTSStatusstatus
-
Constructor Summary
Constructors Constructor Description TSOpenSessionResp()TSOpenSessionResp(TSStatus status, TSProtocolVersion serverProtocolVersion)TSOpenSessionResp(TSOpenSessionResp other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TSOpenSessionResp other)TSOpenSessionRespdeepCopy()booleanequals(Object that)booleanequals(TSOpenSessionResp that)TSOpenSessionResp._FieldsfieldForId(int fieldId)Map<String,String>getConfiguration()intgetConfigurationSize()ObjectgetFieldValue(TSOpenSessionResp._Fields field)TSProtocolVersiongetServerProtocolVersion()longgetSessionId()TSStatusgetStatus()inthashCode()booleanisSet(TSOpenSessionResp._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetConfiguration()Returns true if field configuration is set (has been assigned a value) and false otherwisebooleanisSetServerProtocolVersion()Returns true if field serverProtocolVersion is set (has been assigned a value) and false otherwisebooleanisSetSessionId()Returns true if field sessionId is set (has been assigned a value) and false otherwisebooleanisSetStatus()Returns true if field status is set (has been assigned a value) and false otherwisevoidputToConfiguration(String key, String val)voidread(org.apache.thrift.protocol.TProtocol iprot)TSOpenSessionRespsetConfiguration(Map<String,String> configuration)voidsetConfigurationIsSet(boolean value)voidsetFieldValue(TSOpenSessionResp._Fields field, Object value)TSOpenSessionRespsetServerProtocolVersion(TSProtocolVersion serverProtocolVersion)voidsetServerProtocolVersionIsSet(boolean value)TSOpenSessionRespsetSessionId(long sessionId)voidsetSessionIdIsSet(boolean value)TSOpenSessionRespsetStatus(TSStatus status)voidsetStatusIsSet(boolean value)StringtoString()voidunsetConfiguration()voidunsetServerProtocolVersion()voidunsetSessionId()voidunsetStatus()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
status
public TSStatus status
-
serverProtocolVersion
public TSProtocolVersion serverProtocolVersion
- See Also:
TSProtocolVersion
-
sessionId
public long sessionId
-
metaDataMap
public static final Map<TSOpenSessionResp._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSOpenSessionResp
public TSOpenSessionResp()
-
TSOpenSessionResp
public TSOpenSessionResp(TSStatus status, TSProtocolVersion serverProtocolVersion)
-
TSOpenSessionResp
public TSOpenSessionResp(TSOpenSessionResp other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSOpenSessionResp deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSOpenSessionResp,TSOpenSessionResp._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSOpenSessionResp,TSOpenSessionResp._Fields>
-
getStatus
public TSStatus getStatus()
-
setStatus
public TSOpenSessionResp setStatus(TSStatus status)
-
unsetStatus
public void unsetStatus()
-
isSetStatus
public boolean isSetStatus()
Returns true if field status is set (has been assigned a value) and false otherwise
-
setStatusIsSet
public void setStatusIsSet(boolean value)
-
getServerProtocolVersion
public TSProtocolVersion getServerProtocolVersion()
- See Also:
TSProtocolVersion
-
setServerProtocolVersion
public TSOpenSessionResp setServerProtocolVersion(TSProtocolVersion serverProtocolVersion)
- See Also:
TSProtocolVersion
-
unsetServerProtocolVersion
public void unsetServerProtocolVersion()
-
isSetServerProtocolVersion
public boolean isSetServerProtocolVersion()
Returns true if field serverProtocolVersion is set (has been assigned a value) and false otherwise
-
setServerProtocolVersionIsSet
public void setServerProtocolVersionIsSet(boolean value)
-
getSessionId
public long getSessionId()
-
setSessionId
public TSOpenSessionResp 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)
-
getConfigurationSize
public int getConfigurationSize()
-
setConfiguration
public TSOpenSessionResp setConfiguration(Map<String,String> configuration)
-
unsetConfiguration
public void unsetConfiguration()
-
isSetConfiguration
public boolean isSetConfiguration()
Returns true if field configuration is set (has been assigned a value) and false otherwise
-
setConfigurationIsSet
public void setConfigurationIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TSOpenSessionResp._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSOpenSessionResp,TSOpenSessionResp._Fields>
-
getFieldValue
public Object getFieldValue(TSOpenSessionResp._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSOpenSessionResp,TSOpenSessionResp._Fields>
-
isSet
public boolean isSet(TSOpenSessionResp._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<TSOpenSessionResp,TSOpenSessionResp._Fields>
-
equals
public boolean equals(TSOpenSessionResp that)
-
compareTo
public int compareTo(TSOpenSessionResp other)
- Specified by:
compareToin interfaceComparable<TSOpenSessionResp>
-
fieldForId
public TSOpenSessionResp._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSOpenSessionResp,TSOpenSessionResp._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
-
-