Interface IDatabricksConnectionContext

    • Method Detail

      • getComputeResource

        IDatabricksComputeResource getComputeResource()
        Returns warehouse-Id as parsed from JDBC connection Url
        Returns:
        warehouse-Id
      • getToken

        String getToken()
        Returns the auth token (personal access token/OAuth token etc)
        Returns:
        auth token
      • getHostForOAuth

        String getHostForOAuth()
      • getClientSecret

        String getClientSecret()
      • getLogPathString

        String getLogPathString()
      • getLogFileSize

        int getLogFileSize()
      • getLogFileCount

        int getLogFileCount()
      • getClientUserAgent

        String getClientUserAgent()
      • getCatalog

        String getCatalog()
      • getSchema

        String getSchema()
      • isAllPurposeCluster

        boolean isAllPurposeCluster()
      • getHttpPath

        String getHttpPath()
      • getProxyHost

        String getProxyHost()
      • getProxyPort

        int getProxyPort()
      • getProxyUser

        String getProxyUser()
      • getProxyPassword

        String getProxyPassword()
      • getUseProxy

        Boolean getUseProxy()
      • getProxyAuthType

        com.databricks.sdk.core.ProxyConfig.ProxyAuthType getProxyAuthType()
      • getUseSystemProxy

        Boolean getUseSystemProxy()
      • getUseCloudFetchProxy

        Boolean getUseCloudFetchProxy()
      • getCloudFetchProxyHost

        String getCloudFetchProxyHost()
      • getCloudFetchProxyPort

        int getCloudFetchProxyPort()
      • getCloudFetchProxyUser

        String getCloudFetchProxyUser()
      • getCloudFetchProxyPassword

        String getCloudFetchProxyPassword()
      • getCloudFetchProxyAuthType

        com.databricks.sdk.core.ProxyConfig.ProxyAuthType getCloudFetchProxyAuthType()
      • getAsyncExecPollInterval

        int getAsyncExecPollInterval()
      • shouldEnableArrow

        Boolean shouldEnableArrow()
      • getUseLegacyMetadata

        Boolean getUseLegacyMetadata()
      • getCloudFetchThreadPoolSize

        int getCloudFetchThreadPoolSize()
        Returns the number of threads to be used for fetching data from cloud storage
      • getDirectResultMode

        Boolean getDirectResultMode()
      • shouldRetryTemporarilyUnavailableError

        Boolean shouldRetryTemporarilyUnavailableError()
      • shouldRetryRateLimitError

        Boolean shouldRetryRateLimitError()
      • getTemporarilyUnavailableRetryTimeout

        int getTemporarilyUnavailableRetryTimeout()
      • getRateLimitRetryTimeout

        int getRateLimitRetryTimeout()
      • getIdleHttpConnectionExpiry

        int getIdleHttpConnectionExpiry()
      • supportManyParameters

        boolean supportManyParameters()
      • isFakeServiceTest

        boolean isFakeServiceTest()
      • enableTelemetry

        boolean enableTelemetry()
      • getConnectionURL

        String getConnectionURL()