Flow PHP

BatchableExtractor

A source that decides how many rows it puts in one Rows. withBatchSize() bounds what the source BUILDS; batches() re-slices what a source already emitted and cannot lower its peak.

Methods

batchSize()  : int<1, max>
withBatchSize()  : static
Mutates and returns the same instance, so one extractor shared across from_all() children shares its size.

Methods

withBatchSize()

Mutates and returns the same instance, so one extractor shared across from_all() children shares its size.

public withBatchSize(int $batchSize) : static
Parameters
$batchSize : int
Tags
throws
InvalidArgumentException

when $batchSize is not greater than 0

Return values
static
On this page

Search results