Class KV.OrderByKey<K extends Comparable<? super K>,V>

java.lang.Object
org.apache.beam.sdk.values.KV.OrderByKey<K,V>
All Implemented Interfaces:
Serializable, Comparator<KV<K,V>>, SerializableComparator<KV<K,V>>
Enclosing class:
KV<K,V>

public static class KV.OrderByKey<K extends Comparable<? super K>,V> extends Object implements SerializableComparator<KV<K,V>>
A Comparator that orders KVs by the natural ordering of their keys.

A null key is less than any non-null key.

See Also:
  • Constructor Details

    • OrderByKey

      public OrderByKey()
  • Method Details