ClickHouseClientOptions

data class ClickHouseClientOptions(val endpoints: List<URI>, val username: String = DEFAULT_USERNAME, val password: String = "", val connectionPoolEnabled: Boolean = true, val connectionTimeout: Duration = Duration.ofSeconds(3), val connectionRequestTimeout: Duration = Duration.ofSeconds(10), val socketTimeout: Duration = Duration.ofSeconds(10), val executionTimeout: Duration = Duration.ofSeconds(10), val maxConnections: Int = 10, val maxRetries: Int = 0)

Typed configuration for the ClickHouse Java client owned by ClickHouseBiDeploymentInspector.

Property names intentionally follow their corresponding Client.Builder methods.

Constructors

Link copied to clipboard
constructor(endpoints: List<URI>, username: String = DEFAULT_USERNAME, password: String = "", connectionPoolEnabled: Boolean = true, connectionTimeout: Duration = Duration.ofSeconds(3), connectionRequestTimeout: Duration = Duration.ofSeconds(10), socketTimeout: Duration = Duration.ofSeconds(10), executionTimeout: Duration = Duration.ofSeconds(10), maxConnections: Int = 10, maxRetries: Int = 0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String