Skip to main content

Module samples

Module samples 

Source
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ยง

ColumnarSamplesFormat ๐Ÿ”’
Internal packing knobs; the backend is disabled unless selected explicitly.
Manifest ๐Ÿ”’
MemoryArtifact ๐Ÿ”’
Part ๐Ÿ”’
TimestampColumn ๐Ÿ”’
ValueColumn ๐Ÿ”’

Enumsยง

TimestampUnit ๐Ÿ”’

Constantsยง

BLOCK_BYTES ๐Ÿ”’
FLOAT64_ENCODING ๐Ÿ”’
Sample column encoding ID of a nullable Float64 field.
FLOAT64_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_rows for 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.