public final class DistributionAggregationDescriptor extends Object
A distribution aggregation may optionally contain a histogram of the values in the
population. The bucket boundaries for that histogram are described by
BucketBoundaries, which defines BucketBoundaries.getBoundaries.size() + 1 (= N)
buckets. The boundaries for bucket index i are:
Note: If N = 1, there are no finite buckets and the single bucket is both the overflow and underflow bucket.
| Modifier and Type | Method and Description |
|---|---|
static DistributionAggregationDescriptor |
create()
Constructs a new
DistributionAggregationDescriptor without the optional
histogram bucket boundaries. |
static DistributionAggregationDescriptor |
create(List<Double> bucketBoundaries)
Constructs a new
DistributionAggregationDescriptor with the optional
histogram bucket boundaries. |
List<Double> |
getBucketBoundaries()
The optional histogram bucket boundaries for a distribution.
|
public static DistributionAggregationDescriptor create(List<Double> bucketBoundaries)
DistributionAggregationDescriptor with the optional
histogram bucket boundaries.public static DistributionAggregationDescriptor create()
DistributionAggregationDescriptor without the optional
histogram bucket boundaries.