FlatMapElements
Applies a simple 1-to-many mapping function over each element in the collection. The many elements are flattened into the resulting collection.
Examples
Related transforms
- Filter is useful if the function is just deciding whether to output an element or not.
- ParDo is the most general element-wise mapping operation, and includes other abilities such as multiple output collections and side-inputs.
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!