Skip to main content

field_segments

Function field_segments 

Source
pub(crate) fn field_segments(
    fields: &SeriesFields,
) -> impl Iterator<Item = &Samples> + '_
Expand description

The fields of one chunk, one dense segment at a time.

A field is one or more dense segments - a merged chunk carries one per source piece it was folded from - and asking such a field for a single dense view answers None. Every figure this crate bills for a chunk’s samples walks the segments through here, so the two of them cannot drift on which parts of a field they count; only the yardstick differs, and each caller says why.