public static class ParsedComposite.ParsedBucket extends ParsedMultiBucketAggregation.ParsedBucket implements CompositeAggregation.Bucket
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
ParsedBucket() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getKey() |
java.lang.String |
getKeyAsString() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
getAggregations, getDocCount, isKeyed, keyToXContent, parseXContent, setAggregations, setDocCount, setKeyAsString, setKeyed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAggregations, getDocCount
isFragment
public java.lang.String getKeyAsString()
getKeyAsString
in interface MultiBucketsAggregation.Bucket
getKeyAsString
in class ParsedMultiBucketAggregation.ParsedBucket
public java.util.Map<java.lang.String,java.lang.Object> getKey()
getKey
in interface CompositeAggregation.Bucket
getKey
in interface MultiBucketsAggregation.Bucket
public final XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
toXContent
in class ParsedMultiBucketAggregation.ParsedBucket
java.io.IOException