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:
  • Field Details

  • Constructor Details

    • TOpenSessionReq

      public TOpenSessionReq()
    • TOpenSessionReq

      public TOpenSessionReq(TOpenSessionReq other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

      public TOpenSessionReq deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<TOpenSessionReq,TOpenSessionReq._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<TOpenSessionReq,TOpenSessionReq._Fields>
    • getClient_protocol

      public TProtocolVersion getClient_protocol()
      See Also:
    • setClient_protocol

      public TOpenSessionReq setClient_protocol(TProtocolVersion client_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

      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()
    • putToConfiguration

      public void putToConfiguration(String key, String val)
    • getConfiguration

      public Map<String,String> getConfiguration()
    • 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()
    • putToConnectionProperties

      public void putToConnectionProperties(String key, String val)
    • getConnectionProperties

      public Map<String,String> getConnectionProperties()
    • 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:
      setFieldValue in interface org.apache.thrift.TBase<TOpenSessionReq,TOpenSessionReq._Fields>
    • getFieldValue

      public Object getFieldValue(TOpenSessionReq._Fields field)
      Specified by:
      getFieldValue in interface org.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:
      isSet in interface org.apache.thrift.TBase<TOpenSessionReq,TOpenSessionReq._Fields>
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(TOpenSessionReq that)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(TOpenSessionReq other)
      Specified by:
      compareTo in interface Comparable<TOpenSessionReq>
    • fieldForId

      public TOpenSessionReq._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<TOpenSessionReq,TOpenSessionReq._Fields>
    • read

      public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.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:
      write in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException