Skip to main content

Module memtable

Module memtable 

Source
Expand description

In-memory write buffer for one array — thin re-implementation of the Origin memtable adapted for Lite’s sync context.

Cells are bucketed by TileId (hilbert_prefix, system_from_ms). Each bucket is a HashMap<encoded_coord, payload_bytes>. Flush drains the buckets through SparseTileBuilder to produce SparseTiles ready for SegmentWriter.

Structs§

ArrayMemtable
In-memory write buffer for a single array.
MemtableStats
Statistics about the current memtable state.
PutCellArgs
Arguments for ArrayMemtable::put_cell.