public static class ParsedDoubleTerms.ParsedBucket extends ParsedTerms.ParsedBucket
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsdocCountErrorEMPTY_PARAMS| Constructor and Description |
|---|
ParsedBucket() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getKey() |
java.lang.Number |
getKeyAsNumber() |
java.lang.String |
getKeyAsString() |
protected XContentBuilder |
keyToXContent(XContentBuilder builder) |
getDocCountError, toXContentgetAggregations, getDocCount, isKeyed, parseXContent, setAggregations, setDocCount, setKeyAsString, setKeyedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAggregations, getDocCountisFragmentpublic java.lang.Object getKey()
public java.lang.String getKeyAsString()
getKeyAsString in interface MultiBucketsAggregation.BucketgetKeyAsString in class ParsedMultiBucketAggregation.ParsedBucketpublic java.lang.Number getKeyAsNumber()
protected XContentBuilder keyToXContent(XContentBuilder builder) throws java.io.IOException
keyToXContent in class ParsedMultiBucketAggregation.ParsedBucketjava.io.IOException