MapElements

The Beam SDKs provide language-specific ways to simplify how you provide your DoFn implementation.

Kata: Implement a simple map function that multiplies all input elements by 5 using Map.


Use Map with a lambda.
Refer to the Beam Programming Guide "Lightweight DoFns and other abstractions" section for more information.