Interface Histogram
- All Superinterfaces:
Aggregation
,MultiBucketsAggregation
,org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentFragment
- All Known Implementing Classes:
InternalAutoDateHistogram
,InternalDateHistogram
,InternalHistogram
,InternalVariableWidthHistogram
,ParsedAutoDateHistogram
,ParsedDateHistogram
,ParsedHistogram
,ParsedVariableWidthHistogram
A
histogram
aggregation. Defines multiple buckets, each representing an interval in a histogram.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
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
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
-
Field Summary
Modifier and TypeFieldDescriptionstatic org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
Fields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITER
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Method Summary
Methods inherited from interface org.elasticsearch.search.aggregations.Aggregation
getMetadata, getName, getType
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent
toXContent
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Field Details
-
INTERVAL_FIELD
static final org.elasticsearch.common.xcontent.ParseField INTERVAL_FIELD -
OFFSET_FIELD
static final org.elasticsearch.common.xcontent.ParseField OFFSET_FIELD -
ORDER_FIELD
static final org.elasticsearch.common.xcontent.ParseField ORDER_FIELD -
KEYED_FIELD
static final org.elasticsearch.common.xcontent.ParseField KEYED_FIELD -
MIN_DOC_COUNT_FIELD
static final org.elasticsearch.common.xcontent.ParseField MIN_DOC_COUNT_FIELD -
EXTENDED_BOUNDS_FIELD
static final org.elasticsearch.common.xcontent.ParseField EXTENDED_BOUNDS_FIELD -
HARD_BOUNDS_FIELD
static final org.elasticsearch.common.xcontent.ParseField HARD_BOUNDS_FIELD
-
-
Method Details
-
getBuckets
List<? extends Histogram.Bucket> getBuckets()- Specified by:
getBuckets
in interfaceMultiBucketsAggregation
- Returns:
- The buckets of this histogram (each bucket representing an interval in the histogram)
-