Flow PHP

WindowProcessor implements Processor

FinalYes

Applies window functions over partitioned and ordered data.

Interfaces

Processor
Unlike a Transformer, receives the whole upstream generator, not one batch.

Properties

$bound  : BoundWindow|null
$column  : string|Definition
$function  : WindowFunction

Methods

__construct()  : mixed
bind()  : BoundStep<string|int, Processor>
breaks()  : bool
True when process() needs every input row before it emits one: the processor ends its pipeline.
describe()  : null|Description
fromDescription()  : static
process()  : Generator<string|int, Rows>
Process a stream of Rows and return a new stream.

Properties

Methods

breaks()

True when process() needs every input row before it emits one: the processor ends its pipeline.

public breaks() : bool
Return values
bool

process()

Process a stream of Rows and return a new stream.

public process(Generator $rows, Backend $backend) : Generator<string|int, Rows>
Parameters
$rows : Generator
$backend : Backend
Return values
Generator<string|int, Rows>
On this page

Search results