Flow PHP

Sum implements AggregatingFunction, FrameAccumulating, WindowFunction

FinalYes

Interfaces

AggregatingFunction
FrameAccumulating
Opts a WindowFunction into incremental frame evaluation. Carrying it asserts the result depends only on the frame contents - never on the current row or its index - which is what lets WindowProcessor reuse a value across rows that share frame bounds.
WindowFunction

Methods

__construct()  : mixed
accumulator()  : FrameAccumulator
aggregate()  : void
apply()  : mixed
over()  : static
references()  : null|array<int, Reference>
result()  : Entry<string|int, mixed>
toString()  : string
window()  : Window

Methods

over()

public over(Window $window) : static
Parameters
$window : Window
Return values
static

references()

public references() : null|array<int, Reference>
Return values
null|array<int, Reference>

null when $exact is a ScalarFunction - its entries cannot be statically enumerated, so spill column pruning must be disabled

toString()

public toString() : string
Return values
string
On this page

Search results