Flow PHP

ParquetFile

FinalYes
Tags
template-covariant

of ParquetFileReader

Constants

PARQUET_MAGIC_NUMBER  : string = 'PAR1'

Methods

__construct()  : mixed
__destruct()  : mixed
close()  : void
columns()  : Generator<int, array<string, array<int, mixed>>>
The reader keeps the rows of the filter's bound conjuncts, the rest are evaluated here; offset and limit count the rows returned.
createdBy()  : string
indexes()  : Indexes
The page indexes, read from the file on first access.
metadata()  : Metadata
options()  : Options
pageHeaders()  : Generator<string|int, ColumnPageHeader>
reader()  : R
schema()  : Schema
values()  : Generator<int, array<string, mixed>>
The query's rows one by one, keyed by column.

Constants

PARQUET_MAGIC_NUMBER

public string PARQUET_MAGIC_NUMBER = 'PAR1'

Methods

__construct()

public __construct(SourceStream $stream, Options $options, R $reader) : mixed
Parameters
$stream : SourceStream
$options : Options
$reader : R

opened on $stream

columns()

The reader keeps the rows of the filter's bound conjuncts, the rest are evaluated here; offset and limit count the rows returned.

public columns([Query $query = new Query() ][, int $batchSize = self::BATCH_SIZE ]) : Generator<int, array<string, array<int, mixed>>>
Parameters
$query : Query = new Query()
$batchSize : int = self::BATCH_SIZE
Return values
Generator<int, array<string, array<int, mixed>>>

createdBy()

public static createdBy() : string
Return values
string

values()

The query's rows one by one, keyed by column.

public values([Query $query = new Query() ]) : Generator<int, array<string, mixed>>
Parameters
$query : Query = new Query()
Return values
Generator<int, array<string, mixed>>
On this page

Search results