ColumnReader
Read onlyYes
FinalYes
One column's values in a row group, the selected rows only.
Tags
Methods
- __construct() : mixed
- readPhysical() : DecodedChunk, values: list}
- The leaf's undecoded physical values at the rows $selection selects, null where the leaf or an ancestor is null, and the whole decoded pages it read, keyed by the row of the group each starts at, with their dictionary, for readRowGroup() to serve without reading them again.
- readRowGroup() : Generator
- The column's values at the rows $selection selects, row 0 being the group's first row.
Methods
__construct()
public
__construct(SelectedPages $pages, DremelAssembler $assembler) : mixed
Parameters
- $pages : SelectedPages
- $assembler : DremelAssembler
readPhysical()
The leaf's undecoded physical values at the rows $selection selects, null where the leaf or an ancestor is null, and the whole decoded pages it read, keyed by the row of the group each starts at, with their dictionary, for readRowGroup() to serve without reading them again.
public
readPhysical(FlatColumn $leaf, RowGroup $rowGroup, int $group, SourceStream $stream, RowSelection $selection, Indexes $indexes) : DecodedChunk, values: list}
Parameters
- $leaf : FlatColumn
- $rowGroup : RowGroup
- $group : int
- $stream : SourceStream
- $selection : RowSelection
- $indexes : Indexes
Return values
DecodedChunk, values: list}readRowGroup()
The column's values at the rows $selection selects, row 0 being the group's first row.
public
readRowGroup(Column $column, RowGroup $rowGroup, int $group, SourceStream $stream, RowSelection $selection, Indexes $indexes[, array<string, DecodedChunk> $decoded = [] ]) : Generator
Parameters
- $column : Column
- $rowGroup : RowGroup
- $group : int
- $stream : SourceStream
- $selection : RowSelection
- $indexes : Indexes
- $decoded : array<string, DecodedChunk> = []
-
chunks readPhysical() returned, by leaf flat path