November 2017
Beginner to intermediate
290 pages
7h 34m
English
The one and only user-visible aggregation in the WordCount pipeline is for counting words (of course):
Count.<String>perElement()
This is a composite transform that is a very thin wrapper on a basic per-key aggregation. The input collection of words is transformed into a collection of key-value pairs, where the key is the word and the value is the integer 1. Then, a per-key sum is performed.
Read now
Unlock full access