Aggregators implements Countable, IteratorAggregate
Read onlyYes
FinalYes
Tags
Interfaces
- Countable
- IteratorAggregate
Methods
- __construct() : mixed
- aggregate() : void
- cloned() : self
- count() : int
- first() : AggregatingFunction
- getIterator() : Traversable
- references() : null|array<int, Reference>
Methods
__construct()
public
__construct(AggregatingFunction ...$aggregators) : mixed
Parameters
- $aggregators : AggregatingFunction
aggregate()
public
aggregate(Row $row, FlowContext $context) : void
Parameters
- $row : Row
- $context : FlowContext
cloned()
public
cloned() : self
Return values
selfcount()
public
count() : int
Return values
intfirst()
public
first() : AggregatingFunction
Return values
AggregatingFunctiongetIterator()
public
getIterator() : Traversable
Return values
Traversablereferences()
public
references() : null|array<int, Reference>
Return values
null|array<int, Reference> —union of references read by all aggregators, or null when any aggregator cannot enumerate them (disables spill column pruning)