Sum implements AggregatingFunction, WindowFunction
FinalYes
Interfaces
Methods
- __construct() : mixed
- aggregate() : void
- apply() : mixed
- over() : WindowFunction
- result() : Entry<float|null, float|null>|Entry<int|null, int|null>
- toString() : string
- window() : Window
Methods
__construct()
public
__construct(Reference $ref) : mixed
Parameters
- $ref : Reference
aggregate()
public
aggregate(Row $row) : void
Parameters
- $row : Row
apply()
public
apply(Row $row, Rows $partition) : mixed
Parameters
over()
public
over(Window $window) : WindowFunction
Parameters
- $window : Window
Return values
WindowFunctionresult()
public
result() : Entry<float|null, float|null>|Entry<int|null, int|null>
Return values
Entry<float|null, float|null>|Entry<int|null, int|null>toString()
public
toString() : string
Return values
stringwindow()
public
window() : Window