Interface RareTerms
- All Superinterfaces:
Aggregation
,MultiBucketsAggregation
,ToXContent
,ToXContentFragment
- All Known Implementing Classes:
InternalMappedRareTerms
,InternalRareTerms
,LongRareTerms
,ParsedLongRareTerms
,ParsedRareTerms
,ParsedStringRareTerms
,StringRareTerms
,UnmappedRareTerms
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
A bucket that is associated with a single termNested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation
Aggregation.CommonFields
Nested 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_DELIMITER
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Method Summary
Modifier and TypeMethodDescriptiongetBucketByKey
(String term) Get the bucket for the given term, or null if there is no such bucket.List<? extends RareTerms.Bucket>
Return the sorted list of the buckets in this terms aggregation.Methods inherited from interface org.elasticsearch.search.aggregations.Aggregation
getMetadata, getName, getType
Methods inherited from interface org.elasticsearch.xcontent.ToXContent
toXContent
Methods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Method Details
-
getBuckets
List<? extends RareTerms.Bucket> getBuckets()Return the sorted list of the buckets in this terms aggregation.- Specified by:
getBuckets
in interfaceMultiBucketsAggregation
- Returns:
- The buckets of this aggregation.
-
getBucketByKey
Get the bucket for the given term, or null if there is no such bucket.
-