ParquetFile
FinalYes
Tags
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
__destruct()
public
__destruct() : mixed
close()
public
close() : void
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
Return values
Generator<int, array<string, array<int, mixed>>>createdBy()
public
static createdBy() : string
Return values
stringindexes()
The page indexes, read from the file on first access.
public
indexes() : Indexes
Return values
Indexesmetadata()
public
metadata() : Metadata
Return values
Metadataoptions()
public
options() : Options
Return values
OptionspageHeaders()
public
pageHeaders() : Generator<string|int, ColumnPageHeader>
Return values
Generator<string|int, ColumnPageHeader>reader()
public
reader() : R
Return values
Rschema()
public
schema() : Schema
Return values
Schemavalues()
The query's rows one by one, keyed by column.
public
values([Query $query = new Query() ]) : Generator<int, array<string, mixed>>