Flow PHP

PhpParquetFileReader implements ParquetFileReader

FinalYes

Interfaces

ParquetFileReader

Methods

__construct()  : mixed
close()  : void
Closes the stream it was opened on; any later call throws RuntimeException('Reader is not open').
footer()  : PhpParquetFooter
The file's footer, read on the first call; it stays readable after close().
readColumns()  : Generator<int, array<string, array<int, mixed>>|SkippedMatches>
readStoredColumns()  : Generator<int, array<string, array<int, mixed>>|SkippedMatches>
readColumns() with every DATE, TIMESTAMP, TIME and UUID value, at any depth, as it is stored: days since 1970-01-01, microseconds since the epoch, microseconds since midnight, 16 bytes; other values as readColumns() reads them.

Methods

close()

Closes the stream it was opened on; any later call throws RuntimeException('Reader is not open').

public close() : void

readColumns()

public readColumns(array<int, string> $columns, int $batchSize, ReadPlan $plan) : Generator<int, array<string, array<int, mixed>>|SkippedMatches>
Parameters
$columns : array<int, string>
$batchSize : int

refused below 1, as the arrow engine refuses it

$plan : ReadPlan
Return values
Generator<int, array<string, array<int, mixed>>|SkippedMatches>

readStoredColumns()

readColumns() with every DATE, TIMESTAMP, TIME and UUID value, at any depth, as it is stored: days since 1970-01-01, microseconds since the epoch, microseconds since midnight, 16 bytes; other values as readColumns() reads them.

public readStoredColumns(array<int, string> $columns, int $batchSize, ReadPlan $plan) : Generator<int, array<string, array<int, mixed>>|SkippedMatches>
Parameters
$columns : array<int, string>
$batchSize : int

refused below 1, as the arrow engine refuses it

$plan : ReadPlan
Return values
Generator<int, array<string, array<int, mixed>>|SkippedMatches>
On this page

Search results