public abstract static class InternalSignificantTerms.Bucket extends SignificantTerms.Bucket
MultiBucketsAggregation.Bucket.SubAggregationComparator<B extends MultiBucketsAggregation.Bucket>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field and Description |
|---|---|
protected InternalAggregations |
aggregations |
EMPTY_PARAMS| Modifier | Constructor and Description |
|---|---|
protected |
InternalSignificantTerms.Bucket(long subsetSize,
long supersetSize) |
protected |
InternalSignificantTerms.Bucket(long subsetDf,
long subsetSize,
long supersetDf,
long supersetSize,
InternalAggregations aggregations) |
| Modifier and Type | Method and Description |
|---|---|
Aggregations |
getAggregations() |
long |
getDocCount() |
double |
getSignificanceScore() |
long |
getSubsetDf() |
long |
getSubsetSize() |
long |
getSupersetDf() |
long |
getSupersetSize() |
InternalSignificantTerms.Bucket |
reduce(List<? extends InternalSignificantTerms.Bucket> buckets,
InternalAggregation.ReduceContext context) |
void |
updateScore(SignificanceHeuristic significanceHeuristic) |
getPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetKey, getKeyAsStringtoXContentreadFrom, writeToprotected InternalAggregations aggregations
protected InternalSignificantTerms.Bucket(long subsetSize,
long supersetSize)
protected InternalSignificantTerms.Bucket(long subsetDf,
long subsetSize,
long supersetDf,
long supersetSize,
InternalAggregations aggregations)
public long getSubsetDf()
getSubsetDf in class SignificantTerms.Bucketpublic long getSupersetDf()
getSupersetDf in class SignificantTerms.Bucketpublic long getSupersetSize()
getSupersetSize in class SignificantTerms.Bucketpublic long getSubsetSize()
getSubsetSize in class SignificantTerms.Bucketpublic void updateScore(SignificanceHeuristic significanceHeuristic)
public long getDocCount()
public Aggregations getAggregations()
public InternalSignificantTerms.Bucket reduce(List<? extends InternalSignificantTerms.Bucket> buckets, InternalAggregation.ReduceContext context)
public double getSignificanceScore()
getSignificanceScore in class SignificantTerms.BucketCopyright © 2009–2017. All rights reserved.