get_list_view_array_buffers

Function get_list_view_array_buffers 

Source
fn get_list_view_array_buffers<O: OffsetSizeTrait>(
    data: &ArrayData,
) -> (Buffer, Buffer, ArrayData)
Expand description

Returns the offsets, sizes, and child data buffers for a ListView array.

Unlike List arrays, ListView arrays store both offsets and sizes explicitly, and offsets can be non-monotonic. When slicing, we simply pass through the offsets and sizes without re-encoding, and do not slice the child data.