SelectedPages
Read onlyYes
FinalYes
Tags
Methods
- __construct() : mixed
- read() : Generator<mixed, Dictionary|null>
- The leaf's whole pages holding a selected row, keyed by the row of the group each starts at, each with the rows of it $selection selects. A page in $decoded is served from it; the others are read, through the offset index when the selection skips rows or decoded pages spare reads. Returns the pages' dictionary.
- trimmed() : Generator<int, ReadFlatColumnValues>
- The leaf's pages trimmed to the selected rows, so every leaf of every column yields the same rows.
Methods
__construct()
public
__construct(ColumnChunkReader $chunks) : mixed
Parameters
- $chunks : ColumnChunkReader
read()
The leaf's whole pages holding a selected row, keyed by the row of the group each starts at, each with the rows of it $selection selects. A page in $decoded is served from it; the others are read, through the offset index when the selection skips rows or decoded pages spare reads. Returns the pages' dictionary.
public
read(FlatColumn $leaf, RowGroup $rowGroup, int $group, SourceStream $stream, RowSelection $selection, Indexes $indexes, DecodedChunk $decoded) : Generator<mixed, Dictionary|null>
Parameters
- $leaf : FlatColumn
- $rowGroup : RowGroup
- $group : int
- $stream : SourceStream
- $selection : RowSelection
- $indexes : Indexes
- $decoded : DecodedChunk
Return values
Generator<mixed, Dictionary|null>trimmed()
The leaf's pages trimmed to the selected rows, so every leaf of every column yields the same rows.
public
trimmed(FlatColumn $leaf, RowGroup $rowGroup, int $group, SourceStream $stream, RowSelection $selection, Indexes $indexes, DecodedChunk $decoded) : Generator<int, ReadFlatColumnValues>
Parameters
- $leaf : FlatColumn
- $rowGroup : RowGroup
- $group : int
- $stream : SourceStream
- $selection : RowSelection
- $indexes : Indexes
- $decoded : DecodedChunk