- All Superinterfaces:
Aggregation
, MultiBucketsAggregation
, org.elasticsearch.common.xcontent.ToXContent
, org.elasticsearch.common.xcontent.ToXContentFragment
- All Known Implementing Classes:
InternalMappedRareTerms
, InternalRareTerms
, LongRareTerms
, ParsedLongRareTerms
, ParsedRareTerms
, ParsedStringRareTerms
, StringRareTerms
, UnmappedRareTerms
-
Nested Class Summary
Nested Classes
static interface
A bucket that is associated with a single term
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.common.xcontent.ToXContent
EMPTY_PARAMS
-
Method Summary
Get the bucket for the given term, or null if there is no such bucket.
Return the sorted list of the buckets in this terms aggregation.
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent
toXContent
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Method Details
-
getBuckets
Return the sorted list of the buckets in this terms aggregation.
- Specified by:
getBuckets
in interface MultiBucketsAggregation
- Returns:
- The buckets of this aggregation.
-
getBucketByKey
Get the bucket for the given term, or null if there is no such bucket.