QueryDatasets

The runtime catalog of the datasets this node serves: declared in code, read from files (QueryDatasetFiles) or registered while the node runs, as dataset-registry does. The schema Catalog, the dataset gateways and the storages follow it through listen.

Constructors

Link copied to clipboard
constructor(datasets: Collection<QueryDataset> = emptyList())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

The schema source of the datasets' fields: a dataset's declaration is the base of its model, as the Manifest is for an aggregate's, and other sources (a bean) may enrich it at a higher priority.

Functions

Link copied to clipboard
fun add(dataset: QueryDataset)

Adds dataset; refused when a dataset of that name is already here, or a listener refuses it.

Link copied to clipboard
operator fun get(name: AggregateType): QueryDataset?
Link copied to clipboard

Follows every later change; the datasets already here are all.

Link copied to clipboard

The profile of context's model: the dataset's own for QueryModel.DATASET, the built-in one otherwise.

Link copied to clipboard
fun put(dataset: QueryDataset)

Adds dataset, or replaces the one of its name.

Link copied to clipboard

Removes the dataset of name; false when there is none.

Link copied to clipboard
fun replace(dataset: QueryDataset)

Replaces the dataset of dataset's name with this declaration; refused when there is none.