RowsBuffer
FinalYes
Accumulates rows and releases them as size-bounded Rows batches.
Methods
- __construct() : mixed
- add() : Rows|null
- flush() : Rows|null
Methods
__construct()
public
__construct(Schema $schema, int<1, max> $size[, null|callable(Schema, array<int, Row>): Rows $batch = null ]) : mixed
Parameters
add()
public
add(Row $row) : Rows|null
Parameters
- $row : Row
Return values
Rows|nullflush()
public
flush() : Rows|null