Package org.apache.beam.sdk.values
Class KV.OrderByValue<K,V extends Comparable<? super V>> 
java.lang.Object
org.apache.beam.sdk.values.KV.OrderByValue<K,V> 
- All Implemented Interfaces:
 Serializable,Comparator<KV<K,,V>> SerializableComparator<KV<K,V>> 
public static class KV.OrderByValue<K,V extends Comparable<? super V>> 
extends Object
implements SerializableComparator<KV<K,V>> 
A 
Comparator that orders KVs by the natural ordering of their values.
 A null value is less than any non-null value.
- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong 
- 
Constructor Details
- 
OrderByValue
public OrderByValue() 
 - 
 - 
Method Details
- 
compare
- Specified by:
 comparein interfaceComparator<K>
 
 -