Expand description
Types for consolidating, merging, and extracting columnar update collections.
Structs§
- Chunker
- A chunker to transform input data into sorted columns.
- Column
Chunker - A chunker that consolidates
Column<(D, T, R)>updates into sortedColumnBodychunks, without round-tripping through columnation. - Column
Merger - Counterpart to
ColInternalMerger(which mergesColumnationStackchunks). Drives the merge batcher withColumnBodychunks, no columnation detour, by way of the inherentmerge_from/extractmethods onColumnBody<(D, T, R)>below.
Traits§
- Merge
Chunk - A chunk the merge and extract bodies below write to: the merger’s
ColumnBody, and the column pager’sColumnuntil that pager is retired.
Functions§
- drain_
side 🔒 - Drain remaining items from one side into
result/output. - empty_
chunk 🔒 - Pop a chunk from
stashor allocate a fresh one. Stashed chunks are already cleared viarecycle_chunk, so they’re ready for push. - extract
- Partition records of
sourcestarting at*positionintokeep(times beyondupper, retained for the next round) andship(times not beyondupper, sealed into the output batch). Updatesfrontierwith the times of kept records. - gallop 🔒
- Advance
*lowerpast every position in[*lower, upper)wherecmpreturns true. - merge_
from - Merge items from sorted inputs into
target, advancing positions. - recycle_
chunk 🔒 - Reset
chunkto an emptyTypedand push it tostashfor reuse.