Skip to main content

cursor_list

Function cursor_list 

Source
pub fn cursor_list<B: BatchReader + Navigable>(
    batches: Vec<B>,
) -> (CursorList<B::Cursor>, Vec<B>)
Expand description

Assembles a merged cursor over a sequence of batches.

The batches become the cursor’s storage and are returned alongside the cursor; they must be kept alive and handed to the cursor’s navigation methods. This is the shared assembly behind TraceReader::cursor_through and the per-round input cursors in reduce / count / threshold.