Class TSOpenSessionReq
- java.lang.Object
-
- org.apache.iotdb.service.rpc.thrift.TSOpenSessionReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TSOpenSessionReq>,org.apache.thrift.TBase<TSOpenSessionReq,TSOpenSessionReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TSOpenSessionReq extends Object implements org.apache.thrift.TBase<TSOpenSessionReq,TSOpenSessionReq._Fields>, Serializable, Cloneable, Comparable<TSOpenSessionReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTSOpenSessionReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description TSProtocolVersionclient_protocolMap<String,String>configurationstatic Map<TSOpenSessionReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringpasswordStringusernameStringzoneId
-
Constructor Summary
Constructors Constructor Description TSOpenSessionReq()TSOpenSessionReq(TSOpenSessionReq other)Performs a deep copy on other.TSOpenSessionReq(TSProtocolVersion client_protocol, String zoneId, String username)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TSOpenSessionReq other)TSOpenSessionReqdeepCopy()booleanequals(Object that)booleanequals(TSOpenSessionReq that)TSOpenSessionReq._FieldsfieldForId(int fieldId)TSProtocolVersiongetClient_protocol()Map<String,String>getConfiguration()intgetConfigurationSize()ObjectgetFieldValue(TSOpenSessionReq._Fields field)StringgetPassword()StringgetUsername()StringgetZoneId()inthashCode()booleanisSet(TSOpenSessionReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetClient_protocol()Returns true if field client_protocol is set (has been assigned a value) and false otherwisebooleanisSetConfiguration()Returns true if field configuration is set (has been assigned a value) and false otherwisebooleanisSetPassword()Returns true if field password is set (has been assigned a value) and false otherwisebooleanisSetUsername()Returns true if field username is set (has been assigned a value) and false otherwisebooleanisSetZoneId()Returns true if field zoneId is set (has been assigned a value) and false otherwisevoidputToConfiguration(String key, String val)voidread(org.apache.thrift.protocol.TProtocol iprot)TSOpenSessionReqsetClient_protocol(TSProtocolVersion client_protocol)voidsetClient_protocolIsSet(boolean value)TSOpenSessionReqsetConfiguration(Map<String,String> configuration)voidsetConfigurationIsSet(boolean value)voidsetFieldValue(TSOpenSessionReq._Fields field, Object value)TSOpenSessionReqsetPassword(String password)voidsetPasswordIsSet(boolean value)TSOpenSessionReqsetUsername(String username)voidsetUsernameIsSet(boolean value)TSOpenSessionReqsetZoneId(String zoneId)voidsetZoneIdIsSet(boolean value)StringtoString()voidunsetClient_protocol()voidunsetConfiguration()voidunsetPassword()voidunsetUsername()voidunsetZoneId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
client_protocol
public TSProtocolVersion client_protocol
- See Also:
TSProtocolVersion
-
zoneId
public String zoneId
-
username
public String username
-
password
public String password
-
metaDataMap
public static final Map<TSOpenSessionReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSOpenSessionReq
public TSOpenSessionReq()
-
TSOpenSessionReq
public TSOpenSessionReq(TSProtocolVersion client_protocol, String zoneId, String username)
-
TSOpenSessionReq
public TSOpenSessionReq(TSOpenSessionReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSOpenSessionReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TSOpenSessionReq,TSOpenSessionReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TSOpenSessionReq,TSOpenSessionReq._Fields>
-
getClient_protocol
public TSProtocolVersion getClient_protocol()
- See Also:
TSProtocolVersion
-
setClient_protocol
public TSOpenSessionReq setClient_protocol(TSProtocolVersion client_protocol)
- See Also:
TSProtocolVersion
-
unsetClient_protocol
public void unsetClient_protocol()
-
isSetClient_protocol
public boolean isSetClient_protocol()
Returns true if field client_protocol is set (has been assigned a value) and false otherwise
-
setClient_protocolIsSet
public void setClient_protocolIsSet(boolean value)
-
getZoneId
public String getZoneId()
-
setZoneId
public TSOpenSessionReq setZoneId(String zoneId)
-
unsetZoneId
public void unsetZoneId()
-
isSetZoneId
public boolean isSetZoneId()
Returns true if field zoneId is set (has been assigned a value) and false otherwise
-
setZoneIdIsSet
public void setZoneIdIsSet(boolean value)
-
getUsername
public String getUsername()
-
setUsername
public TSOpenSessionReq setUsername(String username)
-
unsetUsername
public void unsetUsername()
-
isSetUsername
public boolean isSetUsername()
Returns true if field username is set (has been assigned a value) and false otherwise
-
setUsernameIsSet
public void setUsernameIsSet(boolean value)
-
getPassword
public String getPassword()
-
setPassword
public TSOpenSessionReq setPassword(String password)
-
unsetPassword
public void unsetPassword()
-
isSetPassword
public boolean isSetPassword()
Returns true if field password is set (has been assigned a value) and false otherwise
-
setPasswordIsSet
public void setPasswordIsSet(boolean value)
-
getConfigurationSize
public int getConfigurationSize()
-
setConfiguration
public TSOpenSessionReq 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(TSOpenSessionReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TSOpenSessionReq,TSOpenSessionReq._Fields>
-
getFieldValue
public Object getFieldValue(TSOpenSessionReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TSOpenSessionReq,TSOpenSessionReq._Fields>
-
isSet
public boolean isSet(TSOpenSessionReq._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<TSOpenSessionReq,TSOpenSessionReq._Fields>
-
equals
public boolean equals(TSOpenSessionReq that)
-
compareTo
public int compareTo(TSOpenSessionReq other)
- Specified by:
compareToin interfaceComparable<TSOpenSessionReq>
-
fieldForId
public TSOpenSessionReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TSOpenSessionReq,TSOpenSessionReq._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
-
-