GroupBy
FinalYes
Methods
- __construct() : mixed
- aggregate() : void
- aggregatedRow() : Row
- aggregations() : Aggregators
- isPivot() : bool
- keyValues() : GroupKey
- pivot() : void
- pivotResult() : Generator<string|int, Rows>
- references() : array<int, Reference>
Methods
__construct()
public
__construct(string|Reference ...$entries) : mixed
Parameters
- $entries : string|Reference
aggregate()
public
aggregate(AggregatingFunction ...$aggregator) : void
Parameters
- $aggregator : AggregatingFunction
aggregatedRow()
public
aggregatedRow(GroupKey $key, Aggregators $aggregators, EntryFactory $entryFactory) : Row
Parameters
- $key : GroupKey
- $aggregators : Aggregators
- $entryFactory : EntryFactory
Return values
Rowaggregations()
public
aggregations() : Aggregators
Return values
AggregatorsisPivot()
public
isPivot() : bool
Return values
boolkeyValues()
public
keyValues(Row $row) : GroupKey
Parameters
- $row : Row
Return values
GroupKeypivot()
public
pivot(Reference $ref) : void
Parameters
- $ref : Reference
pivotResult()
public
pivotResult(Generator<string|int, Rows> $rows, FlowContext $context[, int<1, max> $batchSize = 1000 ]) : Generator<string|int, Rows>
Parameters
- $rows : Generator<string|int, Rows>
- $context : FlowContext
- $batchSize : int<1, max> = 1000
Return values
Generator<string|int, Rows>references()
public
references() : array<int, Reference>