Class AggregationBucketResult

All Implemented Interfaces:
Serializable

public class AggregationBucketResult extends AggregationResult
Captures the results from a bucket aggregation.
See Also:
  • Method Details

    • builder

    • getDocCountErrorUpperBound

      public Long getDocCountErrorUpperBound()
      Maximum number of missing documents when a bucket's count is very large and may exceed the shard size of Elasticsearch. The larger this number, the more approximate the values of the counts in the buckets.
    • getSumOtherDocCount

      public Long getSumOtherDocCount()
      When there are many unique terms, only the top terms are returned. This gives the sum of all document counts across all buckets that are NOT part of the response.
    • getBuckets

      public List<AggregationBucketDetails> getBuckets()
      List of the top buckets that resulted from the aggregation.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class AtlanObject
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class AtlanObject
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AtlanObject
    • toString

      public String toString()
      Description copied from class: AtlanObject
      Overrides:
      toString in class AggregationResult