Skip to main content

list_range

Function list_range 

Source
fn list_range(offsets: &[i32], row: usize) -> Result<(usize, usize)>
Expand description

The (start, len) window of one list slot in its child array.

Read straight from the parent’s offsets, which is what [ListArray::value] does internally: a caller that only needs the window in order to slice the child itself avoids the temporary ArrayRef a per-row value(row) would allocate.