Keys

Javadoc Javadoc


Takes a collection of key-value pairs, and returns the key of each element.

Examples

Example

PCollection<KV<String, Integer>> keyValuePairs = /* ... */;
PCollection<String> keys = keyValuePairs.apply(Keys.create());