Interface Terms.Bucket

All Superinterfaces:
HasAggregations, MultiBucketsAggregation.Bucket, org.elasticsearch.common.xcontent.ToXContent
All Known Implementing Classes:
InternalTerms.Bucket, LongTerms.Bucket, ParsedDoubleTerms.ParsedBucket, ParsedLongTerms.ParsedBucket, ParsedStringTerms.ParsedBucket, ParsedTerms.ParsedBucket, StringTerms.Bucket, UnmappedTerms.Bucket
Enclosing interface:
Terms

public static interface Terms.Bucket extends MultiBucketsAggregation.Bucket
A bucket that is associated with a single term
  • 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
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
     

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

    getAggregations, getDocCount, getKey, getKeyAsString

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

    isFragment, toXContent
  • Method Details

    • getKeyAsNumber

      Number getKeyAsNumber()
    • getDocCountError

      long getDocCountError()