Interface CompositeAggregation.Bucket
- All Superinterfaces:
HasAggregations,MultiBucketsAggregation.Bucket,ToXContent
- All Known Implementing Classes:
InternalComposite.InternalBucket,ParsedComposite.ParsedBucket
- Enclosing interface:
- CompositeAggregation
public static interface CompositeAggregation.Bucket extends MultiBucketsAggregation.Bucket
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>getKey()Methods inherited from interface org.elasticsearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket
getAggregations, getDocCount, getKeyAsStringMethods inherited from interface org.elasticsearch.common.xcontent.ToXContent
isFragment, toXContent
-
Method Details
-
getKey
java.util.Map<java.lang.String,java.lang.Object> getKey()- Specified by:
getKeyin interfaceMultiBucketsAggregation.Bucket- Returns:
- The key associated with the bucket
-