public abstract static class ParsedSignificantTerms.ParsedBucket extends ParsedMultiBucketAggregation.ParsedBucket implements SignificantTerms.Bucket
MultiBucketsAggregation.Bucket.SubAggregationComparator<B extends MultiBucketsAggregation.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, setKeyed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKeyAsNumber
getAggregations, getKey, getKeyAsString
isFragment
protected long subsetDf
protected long subsetSize
protected long supersetDf
protected long supersetSize
protected double score
public long getDocCount()
getDocCount
in interface MultiBucketsAggregation.Bucket
getDocCount
in class ParsedMultiBucketAggregation.ParsedBucket
public long getSubsetDf()
getSubsetDf
in interface SignificantTerms.Bucket
public long getSupersetDf()
getSupersetDf
in interface SignificantTerms.Bucket
public double getSignificanceScore()
getSignificanceScore
in interface SignificantTerms.Bucket
public long getSupersetSize()
getSupersetSize
in interface SignificantTerms.Bucket
public long getSubsetSize()
getSubsetSize
in interface SignificantTerms.Bucket
public final XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
toXContent
in class ParsedMultiBucketAggregation.ParsedBucket
java.io.IOException
protected abstract XContentBuilder keyToXContent(XContentBuilder builder) throws java.io.IOException
keyToXContent
in class ParsedMultiBucketAggregation.ParsedBucket
java.io.IOException