ClickHouseObject

data class ClickHouseObject(val name: String, val columns: List<ClickHouseColumn>?, val computed: List<ComputedColumn> = emptyList())

A table or view of the Sink: its name, the stored columns it has, or null when only its existence is checked, and the columns it computes, which it has at least, each of its definition (ComputedColumn.comment).

Constructors

Link copied to clipboard
constructor(name: String, columns: List<ClickHouseColumn>?, computed: List<ComputedColumn> = emptyList())

Properties

Link copied to clipboard

Every column it has, as system.columns lists them: the stored ones, then the computed ones.

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

Functions

Link copied to clipboard

The stored columns Wow added within the format (ClickHouseColumn.added) that the actual columns lack.

Link copied to clipboard

Why the actual columns are not these, or null when they are: a stored column it expects missing, unless Wow added it within the format (lacking), or of another type, or computed; or a computed column of another definition (its type or expression changed, which ClickHouse cannot change without rewriting every row), or stored. Other columns, in any order, are no reason: an operator's own, or a later version's within the format. A computed column it lacks is missing.

Link copied to clipboard

The computed columns the actual columns lack, in order.