Class ParsedSignificantLongTerms.ParsedBucket
java.lang.Object
org.elasticsearch.search.aggregations.ParsedMultiBucketAggregation.ParsedBucket
org.elasticsearch.search.aggregations.bucket.terms.ParsedSignificantTerms.ParsedBucket
org.elasticsearch.search.aggregations.bucket.terms.ParsedSignificantLongTerms.ParsedBucket
- All Implemented Interfaces:
MultiBucketsAggregation.Bucket,SignificantTerms.Bucket,HasAggregations,ToXContent
- Enclosing class:
- ParsedSignificantLongTerms
public static class ParsedSignificantLongTerms.ParsedBucket
extends ParsedSignificantTerms.ParsedBucket
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
Fields inherited from class org.elasticsearch.search.aggregations.bucket.terms.ParsedSignificantTerms.ParsedBucket
score, subsetDf, subsetSize, supersetDf, supersetSizeFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()protected XContentBuilderkeyToXContent(XContentBuilder builder) Methods inherited from class org.elasticsearch.search.aggregations.bucket.terms.ParsedSignificantTerms.ParsedBucket
getDocCount, getSignificanceScore, getSubsetDf, getSubsetSize, getSupersetDf, getSupersetSize, toXContentMethods inherited from class org.elasticsearch.search.aggregations.ParsedMultiBucketAggregation.ParsedBucket
getAggregations, isKeyed, parseXContent, setAggregations, setDocCount, setKeyAsString, setKeyedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket
getAggregationsMethods inherited from interface org.elasticsearch.xcontent.ToXContent
isFragment
-
Constructor Details
-
ParsedBucket
public ParsedBucket()
-
-
Method Details
-
getKey
- Returns:
- The key associated with the bucket
-
getKeyAsString
- Specified by:
getKeyAsStringin interfaceMultiBucketsAggregation.Bucket- Overrides:
getKeyAsStringin classParsedMultiBucketAggregation.ParsedBucket- Returns:
- The key associated with the bucket as a string
-
getKeyAsNumber
- Returns:
- The key, expressed as a number
-
keyToXContent
- Specified by:
keyToXContentin classParsedSignificantTerms.ParsedBucket- Throws:
IOException
-