Skip to main content

Crate timeseries_table_core

Crate timeseries_table_core 

Source
Expand description

Core engine for a log-structured time-series table format.

This crate provides the foundational pieces for timeseries-table-format.

Responsibilities (high level):

  • A Delta-inspired, append-only metadata log with version-guard optimistic concurrency control (transaction_log).
  • Strongly-typed table metadata that distinguishes time-series tables (with a [TimeIndexSpec]) from generic tables (metadata).
  • A [TimeSeriesTable] abstraction that exposes a logical view over the log and segment metadata (table).
  • RoaringBitmap-based coverage utilities for reasoning about which time buckets are present or missing (coverage).
  • Filesystem utilities for managing on-disk layout (log directory, CURRENT pointer, segment paths, etc.) (storage).

Main layers (new paths):

Modulesยง

coverage
In-memory coverage and gap analysis over a discrete bucket domain.
formats
Format-specific helpers.
metadata
Metadata layer.
storage
Filesystem layout and path utilities.
table
High-level time-series table abstraction.
transaction_log
Append-only metadata log and table state.