Interface SingleBucketAggregation

All Superinterfaces:
Aggregation, ToXContent, ToXContentFragment
All Known Implementing Classes:
InternalFilter, InternalGlobal, InternalMissing, InternalNested, InternalRandomSampler, InternalReverseNested, InternalSampler, InternalSingleBucketAggregation, UnmappedSampler

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

    • getDocCount

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

      InternalAggregations getAggregations()
      Returns:
      The sub-aggregations of this bucket