Class ArrowFlightConnectionConfigImpl

java.lang.Object
org.apache.calcite.avatica.ConnectionConfigImpl
org.apache.arrow.driver.jdbc.utils.ArrowFlightConnectionConfigImpl
All Implemented Interfaces:
org.apache.calcite.avatica.ConnectionConfig

public final class ArrowFlightConnectionConfigImpl extends org.apache.calcite.avatica.ConnectionConfigImpl
A ConnectionConfig for the ArrowFlightConnection.
  • Constructor Details

    • ArrowFlightConnectionConfigImpl

      public ArrowFlightConnectionConfigImpl(Properties properties)
  • Method Details

    • getHost

      public String getHost()
      Gets the host.
      Returns:
      the host.
    • getPort

      public int getPort()
      Gets the port.
      Returns:
      the port.
    • getUser

      public String getUser()
      Gets the host.
      Returns:
      the host.
    • getPassword

      public String getPassword()
      Gets the host.
      Returns:
      the host.
    • getToken

      public String getToken()
    • getTrustStorePath

      public String getTrustStorePath()
      Gets the KeyStore path.
      Returns:
      the path.
    • getTrustStorePassword

      public String getTrustStorePassword()
      Gets the KeyStore password.
      Returns:
      the password.
    • useSystemTrustStore

      public boolean useSystemTrustStore()
      Check if the JDBC should use the trusted store files from the operating system.
      Returns:
      whether to use system trusted store certificates.
    • getTlsRootCertificatesPath

      public String getTlsRootCertificatesPath()
    • getClientCertificatePath

      public String getClientCertificatePath()
    • getClientKeyPath

      public String getClientKeyPath()
    • useEncryption

      public boolean useEncryption()
      Whether to use TLS encryption.
      Returns:
      whether to use TLS encryption.
    • getDisableCertificateVerification

      public boolean getDisableCertificateVerification()
    • threadPoolSize

      public int threadPoolSize()
      Gets the thread pool size.
      Returns:
      the thread pool size.
    • retainCookies

      public boolean retainCookies()
      Indicates if sub-connections created for stream retrieval should reuse cookies from the main connection.
    • retainAuth

      public boolean retainAuth()
      Indicates if sub-connections created for stream retrieval should reuse bearer tokens created from the main connection.
    • getCatalog

      public String getCatalog()
      The catalog to which a connection is made.
      Returns:
      the catalog.
    • toCallOption

      public CallOption toCallOption()
      Gets the CallOptions from this ConnectionConfig.
      Returns:
      the call options.
    • getHeaderAttributes

      public Map<String,String> getHeaderAttributes()
      Gets which properties should be added as headers.
      Returns:
      Map