PhpParquetFileReader implements ParquetFileReader
FinalYes
Interfaces
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
__construct()
public
__construct(SourceStream $stream, ByteOrder $byteOrder, Options $options) : mixed
Parameters
close()
Closes the stream it was opened on; any later call throws RuntimeException('Reader is not open').
public
close() : void
footer()
The file's footer, read on the first call; it stays readable after close().
public
footer() : PhpParquetFooter
Return values
PhpParquetFooterreadColumns()
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