AverageAccumulator implements FrameAccumulator
FinalYes
Interfaces
Methods
- __construct() : mixed
- accumulate() : void
- value() : mixed
- Must be idempotent and non-destructive - WindowProcessor reads it after every growth step of an expanding frame.
Methods
__construct()
public
__construct(Reference $ref, int $scale, Rounding $rounding, FlowContext $context) : mixed
Parameters
- $ref : Reference
- $scale : int
- $rounding : Rounding
- $context : FlowContext
accumulate()
public
accumulate(Row $row) : void
Parameters
- $row : Row
value()
Must be idempotent and non-destructive - WindowProcessor reads it after every growth step of an expanding frame.
public
value() : mixed