Interface SingleBucketAggregation

All Superinterfaces:
Aggregation, HasAggregations, org.opensearch.common.xcontent.ToXContent, org.opensearch.common.xcontent.ToXContentFragment
All Known Subinterfaces:
Filter, Global, Missing, Nested, ReverseNested, Sampler
All Known Implementing Classes:
InternalFilter, InternalGlobal, InternalMissing, InternalNested, InternalReverseNested, InternalSampler, InternalSingleBucketAggregation, ParsedFilter, ParsedGlobal, ParsedMissing, ParsedNested, ParsedReverseNested, ParsedSampler, ParsedSingleBucketAggregation, UnmappedSampler

public interface SingleBucketAggregation
extends Aggregation, HasAggregations
A single bucket aggregation
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.opensearch.search.aggregations.Aggregation

    Aggregation.CommonFields

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

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

    Fields inherited from interface org.opensearch.search.aggregations.Aggregation

    TYPED_KEYS_DELIMITER

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

    EMPTY_PARAMS
  • Method Summary

    Modifier and Type Method Description
    Aggregations getAggregations()  
    long getDocCount()  

    Methods inherited from interface org.opensearch.search.aggregations.Aggregation

    getMetadata, getName, getType

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

    toXContent

    Methods inherited from interface org.opensearch.common.xcontent.ToXContentFragment

    isFragment