Flow PHP

ColumnChunkReader

Read onlyYes
FinalYes

Methods

__construct()  : mixed
read()  : Generator<mixed, Dictionary|null>
The chunk's data pages keyed by the row of the row group each starts at: the $pages of $offsetIndex, one SourceStream::read per run of adjacent pages, or every page without an offset index. The dictionary is read from the chunk's start up to the first indexed page, wherever `dictionary_page_offset` points (PARQUET-816), unless $dictionary is given. Returns the dictionary the pages were decoded with.

Methods

read()

The chunk's data pages keyed by the row of the row group each starts at: the $pages of $offsetIndex, one SourceStream::read per run of adjacent pages, or every page without an offset index. The dictionary is read from the chunk's start up to the first indexed page, wherever `dictionary_page_offset` points (PARQUET-816), unless $dictionary is given. Returns the dictionary the pages were decoded with.

public read(ColumnChunk $columnChunk, FlatColumn $column, SourceStream $stream[, OffsetIndex|null $offsetIndex = null ][, array<int, int> $pages = [] ][, Dictionary|null $dictionary = null ]) : Generator<mixed, Dictionary|null>
Parameters
$columnChunk : ColumnChunk
$column : FlatColumn
$stream : SourceStream
$offsetIndex : OffsetIndex|null = null
$pages : array<int, int> = []

ascending positions in $offsetIndex

$dictionary : Dictionary|null = null
Return values
Generator<mixed, Dictionary|null>
On this page

Search results