gatherValues

private fnbool gatherValues(Kind K)(ArrayData[] chunks, const size_t[] chunkStarts, const(size_t)[] indices, PhysicalOf!K[] values, ulong[] valid) @safe

Gathers raw primitive values and their packed validity bits at the given global indices (null slots hold arbitrary values, D14).

Parameters

Kthe (primitive) kind of the chunks
chunksthe source chunks
chunkStartsthe global start index of every chunk
indicesthe global indices to gather, in order
valuesthe destination values, indices.length elements
validthe destination validity words

Returns

true when at least one gathered slot is null.