public interface Histogram extends MultiBucketsAggregation
histogram
aggregation. Defines multiple buckets, each representing an interval in a histogram.Modifier and Type | Interface and Description |
---|---|
static interface |
Histogram.Bucket
A bucket in the histogram where documents fall in
|
static class |
Histogram.Order
A strategy defining the order in which the buckets in this histogram are ordered.
|
Aggregation.CommonFields
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field and Description |
---|---|
static ParseField |
EXTENDED_BOUNDS_FIELD |
static ParseField |
INTERVAL_FIELD |
static ParseField |
KEYED_FIELD |
static ParseField |
MIN_DOC_COUNT_FIELD |
static ParseField |
OFFSET_FIELD |
static ParseField |
ORDER_FIELD |
TYPED_KEYS_DELIMITER
EMPTY_PARAMS
Modifier and Type | Method and Description |
---|---|
java.util.List<? extends Histogram.Bucket> |
getBuckets() |
getMetaData, getName, getType
isFragment, toXContent
static final ParseField INTERVAL_FIELD
static final ParseField OFFSET_FIELD
static final ParseField ORDER_FIELD
static final ParseField KEYED_FIELD
static final ParseField MIN_DOC_COUNT_FIELD
static final ParseField EXTENDED_BOUNDS_FIELD
java.util.List<? extends Histogram.Bucket> getBuckets()
getBuckets
in interface MultiBucketsAggregation