Class ParsedStringTerms.ParsedBucket
java.lang.Object
org.elasticsearch.search.aggregations.ParsedMultiBucketAggregation.ParsedBucket
org.elasticsearch.search.aggregations.bucket.terms.ParsedTerms.ParsedBucket
org.elasticsearch.search.aggregations.bucket.terms.ParsedStringTerms.ParsedBucket
- All Implemented Interfaces:
- org.elasticsearch.common.xcontent.ToXContent,- MultiBucketsAggregation.Bucket,- Terms.Bucket,- HasAggregations
- Enclosing class:
- ParsedStringTerms
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContentorg.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
- 
Field SummaryFields inherited from class org.elasticsearch.search.aggregations.bucket.terms.ParsedTerms.ParsedBucketdocCountErrorFields inherited from interface org.elasticsearch.common.xcontent.ToXContentEMPTY_PARAMS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetKey()protected org.elasticsearch.common.xcontent.XContentBuilderkeyToXContent(org.elasticsearch.common.xcontent.XContentBuilder builder)Methods inherited from class org.elasticsearch.search.aggregations.bucket.terms.ParsedTerms.ParsedBucketgetDocCountError, toXContentMethods inherited from class org.elasticsearch.search.aggregations.ParsedMultiBucketAggregation.ParsedBucketgetAggregations, getDocCount, 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.BucketgetAggregations, getDocCountMethods inherited from interface org.elasticsearch.common.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
- 
keyToXContentprotected org.elasticsearch.common.xcontent.XContentBuilder keyToXContent(org.elasticsearch.common.xcontent.XContentBuilder builder) throws IOException- Overrides:
- keyToXContentin class- ParsedMultiBucketAggregation.ParsedBucket
- Throws:
- IOException
 
 
-