Module org.elasticsearch.server
Interface SingleBucketAggregation
- All Superinterfaces:
Aggregation,HasAggregations,ToXContent,ToXContentFragment
- All Known Implementing Classes:
InternalFilter,InternalGlobal,InternalMissing,InternalNested,InternalRandomSampler,InternalReverseNested,InternalSampler,InternalSingleBucketAggregation,UnmappedSampler
A single bucket aggregation
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation
Aggregation.CommonFieldsNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
Fields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITERFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Method Summary
Methods inherited from interface org.elasticsearch.search.aggregations.Aggregation
getMetadata, getName, getTypeMethods inherited from interface org.elasticsearch.xcontent.ToXContent
toXContentMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Method Details
-
getDocCount
long getDocCount()- Returns:
- The number of documents in this bucket
-
getAggregations
InternalAggregations getAggregations()- Specified by:
getAggregationsin interfaceHasAggregations- Returns:
- The sub-aggregations of this bucket
-