Flow PHP

BatchSize implements Transformation

Read onlyYes
FinalYes

Sets batch size for DataFrame.

Small batch size can be useful when processing large data sets since only one row is processed at a time. This means that while processing large data sets, memory usage is kept low.

Normally flow allows to use batch size -1 (which means no batches) but it defeats the purpose of using this transformation on Data Streams.

Interfaces

Transformation

Methods

__construct()  : mixed
transform()  : DataFrame

Methods

__construct()

public __construct(int<1, max> $size) : mixed
Parameters
$size : int<1, max>

        
On this page

Search results