public abstract static class ParsedSignificantTerms.ParsedBucket extends ParsedMultiBucketAggregation.ParsedBucket implements SignificantTerms.Bucket
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field and Description |
|---|---|
protected double |
score |
protected long |
subsetDf |
protected long |
subsetSize |
protected long |
supersetDf |
protected long |
supersetSize |
EMPTY_PARAMS| Constructor and Description |
|---|
ParsedBucket() |
| Modifier and Type | Method and Description |
|---|---|
long |
getDocCount() |
double |
getSignificanceScore() |
long |
getSubsetDf() |
long |
getSubsetSize() |
long |
getSupersetDf() |
long |
getSupersetSize() |
protected abstract XContentBuilder |
keyToXContent(XContentBuilder builder) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
getAggregations, getKeyAsString, isKeyed, parseXContent, setAggregations, setDocCount, setKeyAsString, setKeyedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetKeyAsNumbergetAggregations, getKey, getKeyAsStringisFragmentprotected long subsetDf
protected long subsetSize
protected long supersetDf
protected long supersetSize
protected double score
public long getDocCount()
getDocCount in interface MultiBucketsAggregation.BucketgetDocCount in class ParsedMultiBucketAggregation.ParsedBucketpublic long getSubsetDf()
getSubsetDf in interface SignificantTerms.Bucketpublic long getSupersetDf()
getSupersetDf in interface SignificantTerms.Bucketpublic double getSignificanceScore()
getSignificanceScore in interface SignificantTerms.Bucketpublic long getSupersetSize()
getSupersetSize in interface SignificantTerms.Bucketpublic long getSubsetSize()
getSubsetSize in interface SignificantTerms.Bucketpublic final XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContenttoXContent in class ParsedMultiBucketAggregation.ParsedBucketjava.io.IOExceptionprotected abstract XContentBuilder keyToXContent(XContentBuilder builder) throws java.io.IOException
keyToXContent in class ParsedMultiBucketAggregation.ParsedBucketjava.io.IOException