T - MultiBucketsAggregation.Bucket of the same type that also implements KeyComparable.InternalDateHistogram.Bucket, InternalHistogram.Bucket, InternalTerms.Bucket, LongTerms.Bucket, StringTerms.Bucket, UnmappedTerms.Bucketpublic 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 | Description |
|---|---|---|
int |
compareKey(T other) |
Compare this
MultiBucketsAggregation.Buckets key with another bucket. |
int compareKey(T other)
MultiBucketsAggregation.Buckets key with another bucket.other - the bucket that contains the key to compare to.Comparable.compareTo(Object)