ToXContent
, MultiBucketsAggregation.Bucket
, Terms.Bucket
, HasAggregations
public static class ParsedDoubleTerms.ParsedBucket extends ParsedTerms.ParsedBucket
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
docCountError
EMPTY_PARAMS
Constructor | Description |
---|---|
ParsedBucket() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
getKey() |
|
java.lang.Number |
getKeyAsNumber() |
|
java.lang.String |
getKeyAsString() |
|
protected XContentBuilder |
keyToXContent(XContentBuilder builder) |
getAggregations, getDocCount
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAggregations, getDocCount, isKeyed, parseXContent, setAggregations, setDocCount, setKeyAsString, setKeyed
getDocCountError, toXContent
isFragment
public java.lang.Object getKey()
public java.lang.String getKeyAsString()
getKeyAsString
in interface MultiBucketsAggregation.Bucket
getKeyAsString
in class ParsedMultiBucketAggregation.ParsedBucket
public java.lang.Number getKeyAsNumber()
protected XContentBuilder keyToXContent(XContentBuilder builder) throws java.io.IOException
keyToXContent
in class ParsedMultiBucketAggregation.ParsedBucket
java.io.IOException