Takes a collection of key-value pairs and returns a collection of key-value pairs which has each key and value swapped.
In the following example, we create a pipeline with a
PCollection of key-value pairs.
Then, we apply
KvSwap to swap the keys and values.
Last updated on 2021/02/05
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!