Companion

Properties

Link copied to clipboard

The columns of the base table, one row per commit (ClickHouseRows).

Link copied to clipboard

The columns of _events, one row per event.

Link copied to clipboard

The system columns _state_flat starts with, as _state has them.

Link copied to clipboard
const val FORMAT: Int = 1

The format of the Sink's tables and views; raised only by an incompatible change of them.

Link copied to clipboard

What the comment of each of the Sink's tables and views says: their FORMAT.

Link copied to clipboard

The columns of _state, the current state: the base table's, but the events and the headers, which only the history needs. The Sink inserts these alone when it keeps no history.

Functions

Link copied to clipboard

The tables and views that several of types would share: prefixOf maps distinct names to one (order-item and order_item, Order and order, context a_b and aggregate c with context a and aggregate b_c), and one aggregate's table may be another's (order's _state_events is order_state's _events). By name, each with the aggregates that would share it; empty when there is none.

Link copied to clipboard
fun hasFormat(comment: String?): Boolean

Whether a table's or view's comment says it is of the Sink's FORMAT, among its words.

Link copied to clipboard

The names of every table and view of type, whether it keeps its history or not.

Link copied to clipboard

The names of type's tables start with <ctx>_<agg>, lower case, other characters than [a-z0-9_] as _.

Link copied to clipboard

The name of type's _state, its current state: one row per aggregate after FINAL, its newest commit's, with the access attributes after it, which a dataset bound to type reads its rows by.