Interface Histogram
- All Superinterfaces:
Aggregation
,MultiBucketsAggregation
,ToXContent
,ToXContentFragment
- All Known Implementing Classes:
InternalAutoDateHistogram
,InternalDateHistogram
,InternalHistogram
,ParsedAutoDateHistogram
,ParsedDateHistogram
,ParsedHistogram
public interface Histogram extends MultiBucketsAggregation
A
histogram
aggregation. Defines multiple buckets, each representing an interval in a histogram.-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Histogram.Bucket
A bucket in the histogram where documents fall inNested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation
Aggregation.CommonFields
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Field Summary
Fields Modifier and Type Field 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
Fields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITER
-
Method Summary
Modifier and Type Method Description java.util.List<? extends Histogram.Bucket>
getBuckets()
Methods inherited from interface org.elasticsearch.search.aggregations.Aggregation
getMetaData, getName, getType
-
Field Details
-
Method Details
-
getBuckets
java.util.List<? extends Histogram.Bucket> getBuckets()- Specified by:
getBuckets
in interfaceMultiBucketsAggregation
- Returns:
- The buckets of this histogram (each bucket representing an interval in the histogram)
-