Class TOpenSessionReq
- java.lang.Object
-
- com.databricks.jdbc.model.client.thrift.generated.TOpenSessionReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TOpenSessionReq>,org.apache.thrift.TBase<TOpenSessionReq,TOpenSessionReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)", date="2025-05-08") public class TOpenSessionReq extends Object implements org.apache.thrift.TBase<TOpenSessionReq,TOpenSessionReq._Fields>, Serializable, Cloneable, Comparable<TOpenSessionReq>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTOpenSessionReq._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description booleancanUseMultipleCatalogsTProtocolVersionclient_protocollongclient_protocol_i64Map<String,String>configurationMap<String,String>connectionPropertiesList<TGetInfoType>getInfosTNamespaceinitialNamespacestatic Map<TOpenSessionReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringpasswordStringusername
-
Constructor Summary
Constructors Constructor Description TOpenSessionReq()TOpenSessionReq(TOpenSessionReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToGetInfos(TGetInfoType elem)voidclear()intcompareTo(TOpenSessionReq other)TOpenSessionReqdeepCopy()booleanequals(TOpenSessionReq that)booleanequals(Object that)TOpenSessionReq._FieldsfieldForId(int fieldId)TProtocolVersiongetClient_protocol()longgetClient_protocol_i64()Map<String,String>getConfiguration()intgetConfigurationSize()Map<String,String>getConnectionProperties()intgetConnectionPropertiesSize()ObjectgetFieldValue(TOpenSessionReq._Fields field)List<TGetInfoType>getGetInfos()Iterator<TGetInfoType>getGetInfosIterator()intgetGetInfosSize()TNamespacegetInitialNamespace()StringgetPassword()StringgetUsername()inthashCode()booleanisCanUseMultipleCatalogs()booleanisSet(TOpenSessionReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCanUseMultipleCatalogs()Returns true if field canUseMultipleCatalogs 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 otherwisebooleanisSetClient_protocol_i64()Returns true if field client_protocol_i64 is set (has been assigned a value) and false otherwisebooleanisSetConfiguration()Returns true if field configuration is set (has been assigned a value) and false otherwisebooleanisSetConnectionProperties()Returns true if field connectionProperties is set (has been assigned a value) and false otherwisebooleanisSetGetInfos()Returns true if field getInfos is set (has been assigned a value) and false otherwisebooleanisSetInitialNamespace()Returns true if field initialNamespace 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 otherwisevoidputToConfiguration(String key, String val)voidputToConnectionProperties(String key, String val)voidread(org.apache.thrift.protocol.TProtocol iprot)TOpenSessionReqsetCanUseMultipleCatalogs(boolean canUseMultipleCatalogs)voidsetCanUseMultipleCatalogsIsSet(boolean value)TOpenSessionReqsetClient_protocol(TProtocolVersion client_protocol)TOpenSessionReqsetClient_protocol_i64(long client_protocol_i64)voidsetClient_protocol_i64IsSet(boolean value)voidsetClient_protocolIsSet(boolean value)TOpenSessionReqsetConfiguration(Map<String,String> configuration)voidsetConfigurationIsSet(boolean value)TOpenSessionReqsetConnectionProperties(Map<String,String> connectionProperties)voidsetConnectionPropertiesIsSet(boolean value)voidsetFieldValue(TOpenSessionReq._Fields field, Object value)TOpenSessionReqsetGetInfos(List<TGetInfoType> getInfos)voidsetGetInfosIsSet(boolean value)TOpenSessionReqsetInitialNamespace(TNamespace initialNamespace)voidsetInitialNamespaceIsSet(boolean value)TOpenSessionReqsetPassword(String password)voidsetPasswordIsSet(boolean value)TOpenSessionReqsetUsername(String username)voidsetUsernameIsSet(boolean value)StringtoString()voidunsetCanUseMultipleCatalogs()voidunsetClient_protocol()voidunsetClient_protocol_i64()voidunsetConfiguration()voidunsetConnectionProperties()voidunsetGetInfos()voidunsetInitialNamespace()voidunsetPassword()voidunsetUsername()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
client_protocol
public TProtocolVersion client_protocol
- See Also:
TProtocolVersion
-
username
public String username
-
password
public String password
-
getInfos
public List<TGetInfoType> getInfos
-
client_protocol_i64
public long client_protocol_i64
-
initialNamespace
public TNamespace initialNamespace
-
canUseMultipleCatalogs
public boolean canUseMultipleCatalogs
-
metaDataMap
public static final Map<TOpenSessionReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TOpenSessionReq
public TOpenSessionReq()
-
TOpenSessionReq
public TOpenSessionReq(TOpenSessionReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TOpenSessionReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TOpenSessionReq,TOpenSessionReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TOpenSessionReq,TOpenSessionReq._Fields>
-
getClient_protocol
public TProtocolVersion getClient_protocol()
- See Also:
TProtocolVersion
-
setClient_protocol
public TOpenSessionReq setClient_protocol(TProtocolVersion client_protocol)
- See Also:
TProtocolVersion
-
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)
-
getUsername
public String getUsername()
-
setUsername
public TOpenSessionReq 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 TOpenSessionReq 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 TOpenSessionReq 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)
-
getGetInfosSize
public int getGetInfosSize()
-
getGetInfosIterator
public Iterator<TGetInfoType> getGetInfosIterator()
-
addToGetInfos
public void addToGetInfos(TGetInfoType elem)
-
getGetInfos
public List<TGetInfoType> getGetInfos()
-
setGetInfos
public TOpenSessionReq setGetInfos(List<TGetInfoType> getInfos)
-
unsetGetInfos
public void unsetGetInfos()
-
isSetGetInfos
public boolean isSetGetInfos()
Returns true if field getInfos is set (has been assigned a value) and false otherwise
-
setGetInfosIsSet
public void setGetInfosIsSet(boolean value)
-
getClient_protocol_i64
public long getClient_protocol_i64()
-
setClient_protocol_i64
public TOpenSessionReq setClient_protocol_i64(long client_protocol_i64)
-
unsetClient_protocol_i64
public void unsetClient_protocol_i64()
-
isSetClient_protocol_i64
public boolean isSetClient_protocol_i64()
Returns true if field client_protocol_i64 is set (has been assigned a value) and false otherwise
-
setClient_protocol_i64IsSet
public void setClient_protocol_i64IsSet(boolean value)
-
getConnectionPropertiesSize
public int getConnectionPropertiesSize()
-
setConnectionProperties
public TOpenSessionReq setConnectionProperties(Map<String,String> connectionProperties)
-
unsetConnectionProperties
public void unsetConnectionProperties()
-
isSetConnectionProperties
public boolean isSetConnectionProperties()
Returns true if field connectionProperties is set (has been assigned a value) and false otherwise
-
setConnectionPropertiesIsSet
public void setConnectionPropertiesIsSet(boolean value)
-
getInitialNamespace
public TNamespace getInitialNamespace()
-
setInitialNamespace
public TOpenSessionReq setInitialNamespace(TNamespace initialNamespace)
-
unsetInitialNamespace
public void unsetInitialNamespace()
-
isSetInitialNamespace
public boolean isSetInitialNamespace()
Returns true if field initialNamespace is set (has been assigned a value) and false otherwise
-
setInitialNamespaceIsSet
public void setInitialNamespaceIsSet(boolean value)
-
isCanUseMultipleCatalogs
public boolean isCanUseMultipleCatalogs()
-
setCanUseMultipleCatalogs
public TOpenSessionReq setCanUseMultipleCatalogs(boolean canUseMultipleCatalogs)
-
unsetCanUseMultipleCatalogs
public void unsetCanUseMultipleCatalogs()
-
isSetCanUseMultipleCatalogs
public boolean isSetCanUseMultipleCatalogs()
Returns true if field canUseMultipleCatalogs is set (has been assigned a value) and false otherwise
-
setCanUseMultipleCatalogsIsSet
public void setCanUseMultipleCatalogsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TOpenSessionReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TOpenSessionReq,TOpenSessionReq._Fields>
-
getFieldValue
public Object getFieldValue(TOpenSessionReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TOpenSessionReq,TOpenSessionReq._Fields>
-
isSet
public boolean isSet(TOpenSessionReq._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<TOpenSessionReq,TOpenSessionReq._Fields>
-
equals
public boolean equals(TOpenSessionReq that)
-
compareTo
public int compareTo(TOpenSessionReq other)
- Specified by:
compareToin interfaceComparable<TOpenSessionReq>
-
fieldForId
public TOpenSessionReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TOpenSessionReq,TOpenSessionReq._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
-
-