Package-level declarations

Types

Link copied to clipboard
@AutoConfiguration(before = [QueryAutoConfiguration::class])
@ConditionalOnClass(value = [ClickHouseDatasetQueryBackendFactory::class])
@ConditionalOnProperty(prefix = "wow.query.clickhouse", name = ["enabled"], havingValue = "true")
@EnableConfigurationProperties(value = [ClickHouseDatasetProperties::class])
class ClickHouseDatasetAutoConfiguration

Serves the datasets of wow.query.datasets from ClickHouse when wow-clickhouse is on the classpath (clickhouse-support) and wow.query.clickhouse.enabled is true: a ClickHouse client over the configured endpoints, and the dataset query backend the Catalog and the dataset gateways read.

Link copied to clipboard
@ConfigurationProperties(prefix = "wow.query.clickhouse")
data class ClickHouseDatasetProperties(var enabled: Boolean = false, var endpoints: List<URI> = emptyList(), var username: String = "default", var password: String = "", var database: String = "default", var connectionTimeout: Duration = Duration.ofSeconds(5), var socketTimeout: Duration = Duration.ofSeconds(60), var maxConnections: Int = 16, var metadataTtl: Duration = Duration.ofMinutes(1), var http: ClickHouseDatasetProperties.HttpLimits = HttpLimits(), var inProcess: ClickHouseDatasetProperties.Limits = Limits(), var sources: Map<String, ClickHouseDatasetProperties.Source> = emptyMap())

The ClickHouse server the datasets of wow.query.datasets are read from (clickhouse-support).

Link copied to clipboard

The named ClickHouse sources and the clients they own, closed with the context.