Groups all values by their selected key.
Declared in <folly/gen/Base.h>
template<
class Selector = Identity,
class GroupBy = /* implementation-defined */>
GroupBy
groupBy(Selector selector = Selector());
An operator yielding groups of values sharing a key.
| Name | Description |
|---|---|
| selector | The projection producing the grouping key. |