T
- MultiBucketsAggregation.Bucket
of the same type that also implements KeyComparable
.public interface KeyComparable<T extends MultiBucketsAggregation.Bucket & KeyComparable<T>>
bucket keys
to imposes a total ordering
of buckets of the same type.BucketOrder.key(boolean)
Modifier and Type | Method and Description |
---|---|
int |
compareKey(T other)
Compare this
MultiBucketsAggregation.Bucket s key with another bucket. |
int compareKey(T other)
MultiBucketsAggregation.Bucket
s key
with another bucket.other
- the bucket that contains the key to compare to.Comparable.compareTo(Object)