public static class SignificantStringTerms.Bucket extends InternalSignificantTerms.Bucket<SignificantStringTerms.Bucket>
InternalSignificantTerms.Bucket.Reader<B extends InternalSignificantTerms.Bucket<B>>MultiBucketsAggregation.Bucket.SubAggregationComparator<B extends MultiBucketsAggregation.Bucket>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Writer<V>aggregationsEMPTY_PARAMS| Constructor and Description |
|---|
Bucket(org.apache.lucene.util.BytesRef term,
long subsetDf,
long subsetSize,
long supersetDf,
long supersetSize,
InternalAggregations aggregations,
DocValueFormat format) |
Bucket(org.apache.lucene.util.BytesRef term,
long subsetDf,
long subsetSize,
long supersetDf,
long supersetSize,
InternalAggregations aggregations,
double score,
DocValueFormat format) |
Bucket(StreamInput in,
long subsetSize,
long supersetSize,
DocValueFormat format)
Read from a stream.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getKey() |
java.lang.Number |
getKeyAsNumber() |
java.lang.String |
getKeyAsString() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
getAggregations, getDocCount, getSignificanceScore, getSubsetDf, getSubsetSize, getSupersetDf, getSupersetSize, reduce, updateScoregetPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFragmentpublic Bucket(org.apache.lucene.util.BytesRef term,
long subsetDf,
long subsetSize,
long supersetDf,
long supersetSize,
InternalAggregations aggregations,
DocValueFormat format)
public Bucket(StreamInput in, long subsetSize, long supersetSize, DocValueFormat format) throws java.io.IOException
java.io.IOExceptionpublic Bucket(org.apache.lucene.util.BytesRef term,
long subsetDf,
long subsetSize,
long supersetDf,
long supersetSize,
InternalAggregations aggregations,
double score,
DocValueFormat format)
public void writeTo(StreamOutput out) throws java.io.IOException
Writeablejava.io.IOExceptionpublic java.lang.Number getKeyAsNumber()
public java.lang.String getKeyAsString()
public java.lang.String getKey()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
java.io.IOException