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 interfaceHistogram.BucketA bucket in the histogram where documents fall inNested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation
Aggregation.CommonFieldsNested 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 ParseFieldEXTENDED_BOUNDS_FIELDstatic ParseFieldINTERVAL_FIELDstatic ParseFieldKEYED_FIELDstatic ParseFieldMIN_DOC_COUNT_FIELDstatic ParseFieldOFFSET_FIELDstatic ParseFieldORDER_FIELDFields 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:
getBucketsin interfaceMultiBucketsAggregation- Returns:
- The buckets of this histogram (each bucket representing an interval in the histogram)
-