K - the type of the keyV - the type of the valuepublic class KV<K,V> extends Object implements Serializable
Various
PTransforms like
GroupByKey and
Combine.perKey(com.google.cloud.dataflow.sdk.transforms.SerializableFunction<java.lang.Iterable<V>, V>)
work on PCollections of KVs.
| Modifier and Type | Class and Description |
|---|---|
static class |
KV.OrderByKey<K extends Comparable<? super K>,V>
Orders the
KV by the key. |
static class |
KV.OrderByValue<K,V extends Comparable<? super V>>
Orders the
KV by the value. |