Skip to main content

Module types

Module types 

Source
Expand description

Core types (Lsn, SegmentMeta, Compression, etc.).

Structs§

MemEntry
In-memory representation of a single record (key + metadata).
SegmentMeta
Segment metadata stored in .meta JSON file and in the manifest.
WalRecord
Single record in the Write-Ahead Log.

Enums§

Compression
Compression algorithm for WAL or segments.
Operation
KV operation type stored in WAL and memtable.

Functions§

encode_key
Encode a namespace and key into the internal {ns_len:u16-be}{ns}{key} format.

Type Aliases§

Lsn
Log sequence number (monotonically increasing per database).
SegmentId
Unique identifier for a segment file.