can_read_array

method of dascore.io.index.planned.PlanResolver source

can_read_array(
    self ,
    row: Mapping ,
)-> ‘bool’

Whether a row can take the data-only path, reading nothing.

A caller which sizes its reads ahead of time – splitting a member into several windows, say – must know this before it builds them: splitting a row which loads as a patch would read the whole source once per window instead of once.