ToXContent
, MultiBucketsAggregation.Bucket
, SignificantTerms.Bucket
, HasAggregations
ParsedSignificantLongTerms.ParsedBucket
, ParsedSignificantStringTerms.ParsedBucket
public abstract static class ParsedSignificantTerms.ParsedBucket extends ParsedMultiBucketAggregation.ParsedBucket implements SignificantTerms.Bucket
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field | Description |
---|---|---|
protected double |
score |
|
protected long |
subsetDf |
|
protected long |
subsetSize |
|
protected long |
supersetDf |
|
protected long |
supersetSize |
EMPTY_PARAMS
Constructor | Description |
---|---|
ParsedBucket() |
Modifier and Type | Method | 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, getKey, getKeyAsString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAggregations, getKeyAsString, isKeyed, parseXContent, setAggregations, setDocCount, setKeyAsString, setKeyed
getKeyAsNumber
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