Interface SingleBucketAggregation
- All Superinterfaces:
Aggregation
,HasAggregations
,org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentFragment
- All Known Implementing Classes:
InternalFilter
,InternalGlobal
,InternalMissing
,InternalNested
,InternalReverseNested
,InternalSampler
,InternalSingleBucketAggregation
,ParsedFilter
,ParsedGlobal
,ParsedMissing
,ParsedNested
,ParsedReverseNested
,ParsedSampler
,ParsedSingleBucketAggregation
,UnmappedSampler
A single bucket aggregation
-
Nested Class Summary
Nested 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
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
-
Method Details
-
getDocCount
long getDocCount()- Returns:
- The number of documents in this bucket
-
getAggregations
Aggregations getAggregations()- Specified by:
getAggregations
in interfaceHasAggregations
- Returns:
- The sub-aggregations of this bucket
-