Class ParsedAutoDateHistogram.ParsedBucket
java.lang.Object
org.elasticsearch.search.aggregations.ParsedMultiBucketAggregation.ParsedBucket
org.elasticsearch.search.aggregations.bucket.histogram.ParsedAutoDateHistogram.ParsedBucket
- All Implemented Interfaces:
- org.elasticsearch.common.xcontent.ToXContent,- Histogram.Bucket,- MultiBucketsAggregation.Bucket,- HasAggregations
- Enclosing class:
- ParsedAutoDateHistogram
public static class ParsedAutoDateHistogram.ParsedBucket
extends ParsedMultiBucketAggregation.ParsedBucket
implements Histogram.Bucket
- 
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 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.ParsedMultiBucketAggregation.ParsedBucketgetAggregations, getDocCount, isKeyed, parseXContent, setAggregations, setDocCount, setKeyAsString, setKeyed, toXContentMethods 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, toXContent
- 
Constructor Details- 
ParsedBucketpublic ParsedBucket()
 
- 
- 
Method Details- 
getKey- Specified by:
- getKeyin interface- MultiBucketsAggregation.Bucket
- 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
 
- 
keyToXContentprotected org.elasticsearch.common.xcontent.XContentBuilder keyToXContent(org.elasticsearch.common.xcontent.XContentBuilder builder) throws IOException- Overrides:
- keyToXContentin class- ParsedMultiBucketAggregation.ParsedBucket
- Throws:
- IOException
 
 
-