Module mz_catalog::durable::persist

source ยท

Structsยง

Enumsยง

Constantsยง

Traitsยง

Functionsยง

  • as_of ๐Ÿ”’
    Generates a timestamp for reading from read_handle that is as fresh as possible, given upper.
  • desc ๐Ÿ”’
    Returns the schema of the Rows/SourceDatas stored in the persist shard backing the catalog.
  • Fetch the persist version of the catalog upgrade shard, if one exists. A version will not exist if we are creating a brand-new environment.
  • Deterministically generate a shard ID for the given organization_id and seed.
  • snapshot_binary ๐Ÿ”’
    Generates an iterator of StateUpdate that contain all updates to the catalog state up to, and including, as_of.
  • Generates an iterator of StateUpdate that contain all updates to the catalog state up to, and including, as_of.

Type Aliasesยง

  • A durable store of the catalog state using Persist as an implementation. The durable store can serve any catalog data and transactionally modify catalog data.
  • Timestamp ๐Ÿ”’
    New-type used to represent timestamps in persist.
  • A Handle to an unopened catalog stored in persist. The unopened catalog can serve Config data, Setting data, or the current epoch. All other catalog data may be un-migrated and should not be read until the catalog has been opened. The UnopenedPersistCatalogState is responsible for opening the catalog, see OpenableDurableCatalogState::open for more details.