Class ParsedMultiBucketAggregation.ParsedBucket

java.lang.Object
org.elasticsearch.search.aggregations.ParsedMultiBucketAggregation.ParsedBucket
All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent, MultiBucketsAggregation.Bucket, HasAggregations
Direct Known Subclasses:
ParsedAdjacencyMatrix.ParsedBucket, ParsedAutoDateHistogram.ParsedBucket, ParsedBinaryRange.ParsedBucket, ParsedComposite.ParsedBucket, ParsedDateHistogram.ParsedBucket, ParsedFilters.ParsedBucket, ParsedGeoGridBucket, ParsedRange.ParsedBucket, ParsedSignificantTerms.ParsedBucket, ParsedTerms.ParsedBucket
Enclosing class:
ParsedMultiBucketAggregation<B extends MultiBucketsAggregation.Bucket>

public abstract static class ParsedMultiBucketAggregation.ParsedBucket
extends java.lang.Object
implements MultiBucketsAggregation.Bucket
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent

    org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
  • Field Summary

    Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent

    EMPTY_PARAMS
  • Constructor Summary

    Constructors 
    Constructor Description
    ParsedBucket()  
  • Method Summary

    Modifier and Type Method Description
    Aggregations getAggregations()  
    long getDocCount()  
    java.lang.String getKeyAsString()  
    protected boolean isKeyed()  
    protected org.elasticsearch.common.xcontent.XContentBuilder keyToXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder)  
    protected static <B extends ParsedMultiBucketAggregation.ParsedBucket>
    B
    parseXContent​(org.elasticsearch.common.xcontent.XContentParser parser, boolean keyed, java.util.function.Supplier<B> bucketSupplier, CheckedBiConsumer<org.elasticsearch.common.xcontent.XContentParser,​B,​java.io.IOException> keyConsumer)  
    protected void setAggregations​(Aggregations aggregations)  
    protected void setDocCount​(long docCount)  
    protected void setKeyAsString​(java.lang.String keyAsString)  
    void setKeyed​(boolean keyed)  
    org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.elasticsearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket

    getKey

    Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent

    isFragment