Skip to main content

Module db

Module db 

Source
Expand description

The Chronix database handle — open, write, query, close lifecycle.

This module provides the main entry point for the Chronix embedded time-series database. All operations are synchronous from the caller’s perspective; async I/O is used internally where beneficial.

Structs§

BackupManifest
Metadata written to backup_manifest.json when a checkpoint completes.
BatchStream
A lazily evaluated, time-ordered, deduplicated stream of query results.
Chronix
The main Chronix database handle.
DatabaseStatistics
A point-in-time snapshot of database statistics.
SegmentInfo
A read-only snapshot of one active segment.

Constants§

ROLE_KEY
The Arrow field-metadata key that carries a column’s role.

Functions§

role_metadata
role metadata for one column.