Flow PHP

SchemaSampler

Methods

samples()  : iterable<int, iterable<int, RawRowValues>>
One inner iterable per sampling unit (a file, a byte-range chunk, a sheet range), in listing order.

Methods

samples()

One inner iterable per sampling unit (a file, a byte-range chunk, a sheet range), in listing order.

public samples(int $rowBudget) : iterable<int, iterable<int, RawRowValues>>

The outer iterable is exactly what SchemaInferrer::infer() consumes; a future parallel driver fans SchemaInferrer::sniff() over the inner iterables and merges the ColumnTypes partials. The unit itself is never named as a type - the implementer decides what one inner iterable is.

Parameters
$rowBudget : int
Return values
iterable<int, iterable<int, RawRowValues>>
On this page

Search results