Expand description
Narthex samples files. Wire contract: docs/formats/mito-samples.md.
Modulesยง
- bulk ๐
- Immutable samples objects resident in the bulk memtable.
- codec ๐
- Lossless, bounded sample column encodings. Nulls never become NaNs.
- histogram ๐
- Native histogram sample column encoding 8.
- key_
pages ๐ - Independent 64 KiB frames for the logical key stream within one group.
- metadata ๐
- Explicit sample framing and bounded two-level metadata pages.
- reader ๐
- Lazy, selective sample reads with independent traversal and pinned lifetimes.
- writer ๐
- Streaming sample writing with bounded blocks and owned outputs.
Structsยง
- Columnar
Samples ๐Format - Internal packing knobs; the backend is disabled unless selected explicitly.
- Manifest ๐
- Memory
Artifact ๐ - Part ๐
- Timestamp
Column ๐ - Value
Column ๐
Enumsยง
- Timestamp
Unit ๐
Constantsยง
- BLOCK_
BYTES ๐ - FLOA
T64_ ๐ENCODING - Sample column encoding ID of a nullable Float64 field.
- FLOA
T64_ ๐TYPE - MANIFEST_
LIMIT ๐ - MAX_
FIELDS ๐ - MAX_
ROWS ๐ - NATIVE_
HISTOGRAM_ ๐TYPE - OPERATION ๐
- PRIMARY_
KEY ๐ - Output column naming the exact series key that owns each returned sample row.
- SEQUENCE ๐
- VERSION ๐
Functionsยง
- check_
histogram_ ๐batch check_histogram_rowsfor a bulk write batch.- check_
histogram_ ๐rows - Rejects native histogram samples a Narthex region could not store, before the write is accepted: every sample must fit one samples chunk on its own.
- valid_
rows ๐ - validate_
narthex_ ๐metadata - Reject unsupported narthex schemas before accepting mutations that cannot flush.