public static class SignificantStringTerms.Bucket extends InternalSignificantTerms.Bucket
MultiBucketsAggregation.Bucket.SubAggregationComparator<B extends MultiBucketsAggregation.Bucket>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsaggregationsEMPTY_PARAMS| Constructor and Description |
|---|
SignificantStringTerms.Bucket(org.apache.lucene.util.BytesRef term,
long subsetDf,
long subsetSize,
long supersetDf,
long supersetSize,
InternalAggregations aggregations) |
SignificantStringTerms.Bucket(org.apache.lucene.util.BytesRef term,
long subsetDf,
long subsetSize,
long supersetDf,
long supersetSize,
InternalAggregations aggregations,
double score) |
SignificantStringTerms.Bucket(long subsetSize,
long supersetSize) |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey() |
Number |
getKeyAsNumber() |
String |
getKeyAsString() |
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
getAggregations, getDocCount, getSignificanceScore, getSubsetDf, getSubsetSize, getSupersetDf, getSupersetSize, reduce, updateScoregetPropertypublic SignificantStringTerms.Bucket(long subsetSize,
long supersetSize)
public SignificantStringTerms.Bucket(org.apache.lucene.util.BytesRef term,
long subsetDf,
long subsetSize,
long supersetDf,
long supersetSize,
InternalAggregations aggregations)
public SignificantStringTerms.Bucket(org.apache.lucene.util.BytesRef term,
long subsetDf,
long subsetSize,
long supersetDf,
long supersetSize,
InternalAggregations aggregations,
double score)
public Number getKeyAsNumber()
public String getKeyAsString()
public String getKey()
public void readFrom(StreamInput in) throws IOException
IOExceptionpublic void writeTo(StreamOutput out) throws IOException
IOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
IOExceptionCopyright © 2009–2017. All rights reserved.