Module org.elasticsearch.server
Class ParsedSignificantStringTerms.ParsedBucket
java.lang.Object
org.elasticsearch.search.aggregations.ParsedMultiBucketAggregation.ParsedBucket
org.elasticsearch.search.aggregations.bucket.terms.ParsedSignificantTerms.ParsedBucket
org.elasticsearch.search.aggregations.bucket.terms.ParsedSignificantStringTerms.ParsedBucket
- All Implemented Interfaces:
- MultiBucketsAggregation.Bucket,- SignificantTerms.Bucket,- HasAggregations,- ToXContent
- Enclosing class:
- ParsedSignificantStringTerms
public static class ParsedSignificantStringTerms.ParsedBucket
extends ParsedSignificantTerms.ParsedBucket
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContentToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
- 
Field SummaryFields inherited from class org.elasticsearch.search.aggregations.bucket.terms.ParsedSignificantTerms.ParsedBucketscore, subsetDf, subsetSize, supersetDf, supersetSizeFields inherited from interface org.elasticsearch.xcontent.ToXContentEMPTY_PARAMS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetKey()protected XContentBuilderkeyToXContent(XContentBuilder builder) Methods inherited from class org.elasticsearch.search.aggregations.bucket.terms.ParsedSignificantTerms.ParsedBucketgetDocCount, getSignificanceScore, getSubsetDf, getSubsetSize, getSupersetDf, getSupersetSize, toXContentMethods inherited from class org.elasticsearch.search.aggregations.ParsedMultiBucketAggregation.ParsedBucketgetAggregations, isKeyed, parseXContent, setAggregations, setDocCount, setKeyAsString, setKeyedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.search.aggregations.bucket.MultiBucketsAggregation.BucketgetAggregationsMethods inherited from interface org.elasticsearch.xcontent.ToXContentisFragment
- 
Constructor Details- 
ParsedBucketpublic ParsedBucket()
 
- 
- 
Method Details- 
getKey- Returns:
- The key associated with the bucket
 
- 
getKeyAsString- Specified by:
- getKeyAsStringin interface- MultiBucketsAggregation.Bucket
- Overrides:
- getKeyAsStringin class- ParsedMultiBucketAggregation.ParsedBucket
- Returns:
- The key associated with the bucket as a string
 
- 
getKeyAsNumber- Returns:
- The key, expressed as a number
 
- 
keyToXContent- Specified by:
- keyToXContentin class- ParsedSignificantTerms.ParsedBucket
- Throws:
- IOException
 
 
-