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