- All Superinterfaces:
- HasAggregations, Streamable, ToXContent
- All Known Subinterfaces:
- Filters.Bucket, GeoHashGrid.Bucket, Histogram.Bucket, Range.Bucket
- All Known Implementing Classes:
- InternalDateRange.Bucket, InternalFilters.Bucket, InternalHistogram.Bucket, InternalIPv4Range.Bucket, InternalMultiBucketAggregation.InternalBucket, InternalRange.Bucket, InternalSignificantTerms.Bucket, InternalTerms.Bucket, SignificantStringTerms.Bucket, SignificantTerms.Bucket, StringTerms.Bucket, Terms.Bucket
- Enclosing interface:
- MultiBucketsAggregation
public static interface MultiBucketsAggregation.Bucket
extends HasAggregations, ToXContent, Streamable
A bucket represents a criteria to which all documents that fall in it adhere to. It is also uniquely identified
by a key, and can potentially hold sub-aggregations computed over all documents in it.