Module org.elasticsearch.server
Class SignificantLongTerms.Bucket
java.lang.Object
org.elasticsearch.search.aggregations.InternalMultiBucketAggregation.InternalBucket
org.elasticsearch.search.aggregations.InternalMultiBucketAggregation.InternalBucketWritable
org.elasticsearch.search.aggregations.bucket.terms.InternalSignificantTerms.Bucket<SignificantLongTerms.Bucket>
org.elasticsearch.search.aggregations.bucket.terms.SignificantLongTerms.Bucket
- All Implemented Interfaces:
Writeable,MultiBucketsAggregation.Bucket,SignificantTerms.Bucket
- Enclosing class:
SignificantLongTerms
public static class SignificantLongTerms.Bucket
extends InternalSignificantTerms.Bucket<SignificantLongTerms.Bucket>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.bucket.terms.InternalSignificantTerms.Bucket
InternalSignificantTerms.Bucket.Reader<B extends InternalSignificantTerms.Bucket<B>>Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Writer<V> -
Field Summary
Fields inherited from class org.elasticsearch.search.aggregations.bucket.terms.InternalSignificantTerms.Bucket
aggregations -
Constructor Summary
ConstructorsConstructorDescriptionBucket(long subsetDf, long supersetDf, long term, InternalAggregations aggregations, DocValueFormat format, double score) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetKey()inthashCode()protected XContentBuilderkeyToXContent(XContentBuilder builder) voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class org.elasticsearch.search.aggregations.bucket.terms.InternalSignificantTerms.Bucket
getAggregations, getDocCount, getSignificanceScore, getSubsetDf, getSupersetDfMethods inherited from class org.elasticsearch.search.aggregations.InternalMultiBucketAggregation.InternalBucket
getProperty
-
Constructor Details
-
Bucket
public Bucket(long subsetDf, long supersetDf, long term, InternalAggregations aggregations, DocValueFormat format, double score)
-
-
Method Details
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Throws:
IOException
-
getKey
- Returns:
- The key associated with the bucket
-
getKeyAsString
- Returns:
- The key associated with the bucket as a string
-
keyToXContent
- Specified by:
keyToXContentin classInternalSignificantTerms.Bucket<SignificantLongTerms.Bucket>- Throws:
IOException
-
equals
- Overrides:
equalsin classInternalSignificantTerms.Bucket<SignificantLongTerms.Bucket>
-
hashCode
public int hashCode()- Overrides:
hashCodein classInternalSignificantTerms.Bucket<SignificantLongTerms.Bucket>
-