Package com.atlan.model.search
Class AggregationBucketResult.AggregationBucketResultBuilder
java.lang.Object
com.atlan.model.search.AggregationBucketResult.AggregationBucketResultBuilder
- Enclosing class:
- AggregationBucketResult
-
Method Summary
Modifier and TypeMethodDescriptionbuckets
(List<AggregationBucketDetails> buckets) List of the top buckets that resulted from the aggregation.build()
docCountErrorUpperBound
(Long docCountErrorUpperBound) Maximum number of missing documents when a bucket's count is very large and may exceed the shard size of Elasticsearch.sumOtherDocCount
(Long sumOtherDocCount) When there are many unique terms, only the top terms are returned.toString()
-
Method Details
-
docCountErrorUpperBound
public AggregationBucketResult.AggregationBucketResultBuilder docCountErrorUpperBound(Long docCountErrorUpperBound) 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.- Returns:
this
.
-
sumOtherDocCount
public AggregationBucketResult.AggregationBucketResultBuilder sumOtherDocCount(Long sumOtherDocCount) 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.- Returns:
this
.
-
buckets
public AggregationBucketResult.AggregationBucketResultBuilder buckets(List<AggregationBucketDetails> buckets) List of the top buckets that resulted from the aggregation.- Returns:
this
.
-
build
-
toString
-