Flow PHP

ParquetFileBatches implements OffsetSkippingFileBatches

FinalYes

Interfaces

OffsetSkippingFileBatches

Methods

__construct()  : mixed
batches()  : Generator<mixed, void>
close()  : void
describe()  : Description|null
fromDescription()  : static

Methods

__construct()

public __construct(ParquetEngine $engine, Options $options, array<int, string> $columns, null|DerivedSchema $derived[, null|ParquetSourceFile $firstFile = null ]) : mixed
Parameters
$engine : ParquetEngine
$options : Options
$columns : array<int, string>

the columns to read, every one when empty

$derived : null|DerivedSchema

the schema every file must match; null under unionByName

$firstFile : null|ParquetSourceFile = null

the file the schema pass kept open, read instead of opened again; never described

batches()

public batches(FileRead $read, Criteria $criteria, SourceFile $source, Schema $body, Backend $backend, ReadWindow $window) : Generator<mixed, void>
Parameters
$read : FileRead
$criteria : Criteria
$source : SourceFile
$body : Schema
$backend : Backend
$window : ReadWindow
Tags
throws
InferredSchemaException
Return values
Generator<mixed, void>

fromDescription()

public static fromDescription(array<string|int, mixed> $data, Rebuild $rebuild) : static
Parameters
$data : array<string|int, mixed>
$rebuild : Rebuild
Return values
static
On this page

Search results