All Implemented Interfaces:
Writeable, MultiBucketsAggregation.Bucket, HasAggregations
Direct Known Subclasses:
InternalDateHistogram.Bucket, InternalHistogram.Bucket, InternalVariableWidthHistogram.Bucket

public abstract class AbstractHistogramBucket extends InternalMultiBucketAggregation.InternalBucketWritable
A bucket in the histogram where documents fall in
  • Field Details

  • Constructor Details

  • Method Details

    • getDocCount

      public final long getDocCount()
      Returns:
      The number of documents that fall within this bucket
    • getAggregations

      public final InternalAggregations getAggregations()
      Returns:
      The sub-aggregations of this bucket
    • getFormatter

      public final DocValueFormat getFormatter()