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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanlongstatic final Map<TOpenSessionReq._Fields, org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToGetInfos(TGetInfoType elem) voidclear()intcompareTo(TOpenSessionReq other) deepCopy()booleanequals(TOpenSessionReq that) booleanfieldForId(int fieldId) longintintintinthashCode()booleanbooleanisSet(TOpenSessionReq._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field canUseMultipleCatalogs is set (has been assigned a value) and false otherwisebooleanReturns true if field client_protocol is set (has been assigned a value) and false otherwisebooleanReturns true if field client_protocol_i64 is set (has been assigned a value) and false otherwisebooleanReturns true if field configuration is set (has been assigned a value) and false otherwisebooleanReturns true if field connectionProperties is set (has been assigned a value) and false otherwisebooleanReturns true if field getInfos is set (has been assigned a value) and false otherwisebooleanReturns true if field initialNamespace is set (has been assigned a value) and false otherwisebooleanReturns true if field password is set (has been assigned a value) and false otherwisebooleanReturns 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) setCanUseMultipleCatalogs(boolean canUseMultipleCatalogs) voidsetCanUseMultipleCatalogsIsSet(boolean value) setClient_protocol(TProtocolVersion client_protocol) setClient_protocol_i64(long client_protocol_i64) voidsetClient_protocol_i64IsSet(boolean value) voidsetClient_protocolIsSet(boolean value) setConfiguration(Map<String, String> configuration) voidsetConfigurationIsSet(boolean value) setConnectionProperties(Map<String, String> connectionProperties) voidsetConnectionPropertiesIsSet(boolean value) voidsetFieldValue(TOpenSessionReq._Fields field, Object value) setGetInfos(List<TGetInfoType> getInfos) voidsetGetInfosIsSet(boolean value) setInitialNamespace(TNamespace initialNamespace) voidsetInitialNamespaceIsSet(boolean value) setPassword(String password) voidsetPasswordIsSet(boolean value) setUsername(String username) voidsetUsernameIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
client_protocol
- See Also:
-
username
-
password
-
configuration
-
getInfos
-
client_protocol_i64
public long client_protocol_i64 -
connectionProperties
-
initialNamespace
-
canUseMultipleCatalogs
public boolean canUseMultipleCatalogs -
metaDataMap
public static final Map<TOpenSessionReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
TOpenSessionReq
public TOpenSessionReq() -
TOpenSessionReq
Performs a deep copy on other.
-
-
Method Details
-
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
- See Also:
-
setClient_protocol
- See Also:
-
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
-
setUsername
-
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
-
setPassword
-
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() -
putToConfiguration
-
getConfiguration
-
setConfiguration
-
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
-
addToGetInfos
-
getGetInfos
-
setGetInfos
-
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
-
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() -
putToConnectionProperties
-
getConnectionProperties
-
setConnectionProperties
-
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
-
setInitialNamespace
-
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
-
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
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TOpenSessionReq,TOpenSessionReq._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TOpenSessionReq,TOpenSessionReq._Fields>
-
isSet
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
-
equals
-
hashCode
-
compareTo
- Specified by:
compareToin interfaceComparable<TOpenSessionReq>
-
fieldForId
- 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
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-