ToXContent, MultiBucketsAggregation.Bucket, SignificantTerms.Bucket, HasAggregationspublic static class ParsedSignificantStringTerms.ParsedBucket extends ParsedSignificantTerms.ParsedBucket
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Paramsscore, subsetDf, subsetSize, supersetDf, supersetSizeEMPTY_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) |
getAggregationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAggregations, isKeyed, parseXContent, setAggregations, setDocCount, setKeyAsString, setKeyedgetDocCount, getSignificanceScore, getSubsetDf, getSubsetSize, getSupersetDf, getSupersetSize, toXContentisFragmentpublic 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 ParsedSignificantTerms.ParsedBucketjava.io.IOException