GroupByKey
Takes a keyed collection of elements and produces a collection where
each element consists of a key and an Iterable
of all values
associated with that key.
The results can be combined with windowing to subdivide each key based on time or triggering to produce partial aggregations. Either windowing or triggering is necessary when processing unbounded collections.
See more information in the Beam Programming Guide.
Examples
Related transforms
- CoGroupByKey for multiple input collections
- Combine for combining all values associated with a key to a single result
Last updated on 2024/11/14
Have you found everything you were looking for?
Was it all useful and clear? Is there anything that you would like to change? Let us know!