DatasetState

A dataset of the catalog: its name, its working definition and the sources it reads, and its published versions, of which queries read the current one (published).

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard

The version queries read: 0 before the first publication.

Link copied to clipboard
Link copied to clipboard

Whether a retired dataset's views were dropped.

Link copied to clipboard

Whether the dataset exists: it was drafted.

Link copied to clipboard
Link copied to clipboard

Why the published definition needs revision, while the dataset DatasetStatus.NEEDS_REVISION.

Link copied to clipboard

The definition whose publication awaits an approver, and why it does; null when none does.

Link copied to clipboard
Link copied to clipboard

The ids of the catalog's sources the definition reads.

Link copied to clipboard
Link copied to clipboard

Whether a dataset that needs revision still serves its published version, whose view still holds.

Link copied to clipboard
Link copied to clipboard

Every published version, oldest first.

Functions

Link copied to clipboard

The version a publication creates next.

Link copied to clipboard

The version queries read, or null before the first publication.

Link copied to clipboard

The artifact queries read, or null when none is published, the dataset is retired, or it needs revision and its published version no longer holds.

Link copied to clipboard
fun version(version: Int): DatasetVersion?

The published version, or null when there is none.