November 2017
Beginner to intermediate
290 pages
7h 34m
English
Formatting demonstrates another simple library transform that ships with Beam—mapping a one-input-to-one-output function over all input elements:
MapElements
.into(TypeDescriptors.strings())
.via((KV<String, Long> wordCount) -> wordCount.getKey() + ": " + wordCount.getValue())
Read now
Unlock full access