Flow PHP

FloeStreamReader

FinalYes

Methods

__construct()  : mixed
close()  : void
footer()  : Footer
metadata()  : Metadata
rows()  : Generator<int, Rows>
offset skips whole leading sections using the footer, then the remaining rows inside the start section; limit stops the read after that many rows. Batches are frame-sized: batchSize is an upper bound, a batch never spans two BATCH frames.
schema()  : Schema
totalRows()  : int

Methods

rows()

offset skips whole leading sections using the footer, then the remaining rows inside the start section; limit stops the read after that many rows. Batches are frame-sized: batchSize is an upper bound, a batch never spans two BATCH frames.

public rows([int<1, max> $batchSize = 1000 ][, int $offset = 0 ][, int|null $limit = null ]) : Generator<int, Rows>
Parameters
$batchSize : int<1, max> = 1000
$offset : int = 0
$limit : int|null = null
Tags
throws
FloeException
Return values
Generator<int, Rows> —

every batch carries the merged file schema

On this page

Search results