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
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
CustomConnectionProperty
for theArrowFlightConnectionConfigImpl
.Nested classes/interfaces inherited from class org.apache.calcite.avatica.ConnectionConfigImpl
org.apache.calcite.avatica.ConnectionConfigImpl.Converter<T extends Object>, org.apache.calcite.avatica.ConnectionConfigImpl.PropEnv
-
Field Summary
Fields inherited from class org.apache.calcite.avatica.ConnectionConfigImpl
BOOLEAN_CONVERTER, IDENTITY_CONVERTER, NUMBER_CONVERTER, properties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe catalog to which a connection is made.boolean
Gets which properties should be added as headers.getHost()
Gets the host.Gets the host.int
getPort()
Gets the port.getToken()
Gets the KeyStore password.Gets the KeyStore path.getUser()
Gets the host.boolean
Indicates if sub-connections created for stream retrieval should reuse bearer tokens created from the main connection.boolean
Indicates if sub-connections created for stream retrieval should reuse cookies from the main connection.int
Gets the thread pool size.Gets theCallOption
s from thisConnectionConfig
.boolean
Whether to use TLS encryption.boolean
Check if the JDBC should use the trusted store files from the operating system.Methods inherited from class org.apache.calcite.avatica.ConnectionConfigImpl
authentication, avaticaPassword, avaticaUser, enumConverter, factory, fetchSize, getHttpConnectionTimeout, getHttpResponseTimeout, getLBConnectionFailoverRetries, getLBConnectionFailoverSleepTime, getLBStrategy, getLbURLs, hostnameVerification, httpClientClass, httpClientFactory, kerberosKeytab, kerberosPrincipal, keyPassword, keystore, keystorePassword, keystoreType, parse, pluginConverter, schema, serialization, timeZone, transparentReconnectionEnabled, truststore, truststorePassword, url, useClientSideLb
-
Constructor Details
-
ArrowFlightConnectionConfigImpl
-
-
Method Details
-
getHost
Gets the host.- Returns:
- the host.
-
getPort
public int getPort()Gets the port.- Returns:
- the port.
-
getUser
Gets the host.- Returns:
- the host.
-
getPassword
Gets the host.- Returns:
- the host.
-
getToken
-
getTrustStorePath
Gets the KeyStore path.- Returns:
- the path.
-
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
-
getClientCertificatePath
-
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
The catalog to which a connection is made.- Returns:
- the catalog.
-
toCallOption
Gets theCallOption
s from thisConnectionConfig
.- Returns:
- the call options.
-
getHeaderAttributes
Gets which properties should be added as headers.- Returns:
Map
-