Interface KeyComparable<T extends MultiBucketsAggregation.Bucket & KeyComparable<T>>

    • Method Detail

      • compareKey

        int compareKey​(T other)
        Compare this MultiBucketsAggregation.Buckets key with another bucket.
        Parameters:
        other - the bucket that contains the key to compare to.
        Returns:
        a negative integer, zero, or a positive integer as this buckets key is less than, equal to, or greater than the other buckets key.
        See Also:
        Comparable.compareTo(Object)