Module org.elasticsearch.server
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:
- MultiBucketsAggregation.Bucket,- Terms.Bucket,- HasAggregations,- ToXContent
- Enclosing class:
- ParsedStringTerms
- 
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.ParsedTerms.ParsedBucketdocCountErrorFields 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.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.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
- 
keyToXContent- Overrides:
- keyToXContentin class- ParsedMultiBucketAggregation.ParsedBucket
- Throws:
- IOException
 
 
-