Macaw.Data.Source.Manager.Index (macaw_data v0.21.1)
View SourceA source manager's published chunk index (spec/01 §6.4.3): what a reader needs to read its window from published chunks without calling the manager.
source, the source's name, andversion, the publication's, counted from 1;schema, the source'sMacaw.Data.Schema, andheader, the held table's columns as{name, type}, withsorted, the column its rows are in the order of;served, the holding's served facts (spec/01 §3), butcappedandreduced_by, kept per slot range (spec/01 §6.4.3):cappedthe held slot ranges a capped answer held,reduced_bythose an answer the source reduced itself held, each[]for none;axis, the slot axis (Macaw.Data.Source.Subscriptionswith no readers), andwhole, whether the source is demanded whole;chunks,[{slot, id, write_seq}]in the table's order: each held chunk's slot number (nilfor rows with no window value, or a source demanded whole), its id and its routing version (spec/01 §1.1.3).
Summary
Types
@type t() :: %Macaw.Data.Source.Manager.Index{ axis: Macaw.Data.Source.Subscriptions.t() | nil, chunks: [{integer() | nil, term(), pos_integer()}], header: [{term(), atom()}], schema: Macaw.Data.Schema.t() | nil, served: map(), sorted: term(), source: term(), version: non_neg_integer(), whole: boolean() }