WithKeys

Javadoc Javadoc


Takes a PCollection<V> and produces a PCollection<KV<K, V>> by associating each input element with a key.

There are two versions of WithKeys, depending on how the key should be determined:

Examples