Interface SingleBucketAggregation

All Superinterfaces:
Aggregation, HasAggregations, ToXContent, ToXContentFragment
All Known Subinterfaces:
Filter, Global, Missing, Nested, ReverseNested, Sampler
All Known Implementing Classes:
InternalFilter, InternalGlobal, InternalMissing, InternalNested, InternalReverseNested, InternalSampler, InternalSingleBucketAggregation, ParsedFilter, ParsedGlobal, ParsedMissing, ParsedNested, ParsedReverseNested, ParsedSampler, ParsedSingleBucketAggregation, UnmappedSampler

public interface SingleBucketAggregation extends Aggregation, HasAggregations
A single bucket aggregation
  • Method Details

    • getDocCount

      long getDocCount()
      Returns:
      The number of documents in this bucket
    • getAggregations

      Aggregations getAggregations()
      Specified by:
      getAggregations in interface HasAggregations
      Returns:
      The sub-aggregations of this bucket