Skip to main content

Module row

Module row 

Source
Expand description

The row envelope family types: the opaque EncodedBytes a flat store hands back, the shape machinery that gives it a typed view, and one submodule per storage family that owns a header layout of its own. A family’s carve lands here as its own submodule.

Modules§

bytes
catalog
The catalog storage family: a row whose header is the shape fingerprint and nothing else.
le
operator
pod
The pod storage family: an entry read and written whole, carrying no header at all, so the body is the whole row and offset zero is payload rather than a fingerprint or a stamp.
queue
The queue storage family: the source header plus a not_before instant that gates when an item becomes due. Absence is a flag bit, not a sentinel instant, so a due-now item stays due-now.
ringbuffer
The ring buffer storage family: the source header, byte for byte as the table family. Eviction overwrites a slot in place, so created_at survives a rewrite while updated_at moves.
series
The series storage family: the source header, byte for byte as the table family. The key repeats in field 0 and again in #time; deduping it against SeriesRowKey is deferred, not rejected.
shape
Row-shape descriptor: the schema-of-bytes that lets storage, replication and CDC address an EncodedBytes’s fields without consulting the catalog. SHAPE_HEADER_SIZE and the packed-mode bit layout are part of the wire format; resizing either breaks every row written under the old one.
table
The table storage family: the source header of fingerprint, wall stamps, #time and flags. A table row is addressed through its shape, so the header ends where the definedness bitvec begins.