ToXContent
, MultiBucketsAggregation.Bucket
, SignificantTerms.Bucket
, HasAggregations
public static class ParsedSignificantStringTerms.ParsedBucket extends ParsedSignificantTerms.ParsedBucket
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
score, subsetDf, subsetSize, supersetDf, supersetSize
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAggregations, isKeyed, parseXContent, setAggregations, setDocCount, setKeyAsString, setKeyed
getDocCount, getSignificanceScore, getSubsetDf, getSubsetSize, getSupersetDf, getSupersetSize, 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 ParsedSignificantTerms.ParsedBucket
java.io.IOException