Class AbstractInternalTerms.AbstractTermsBucket<B extends AbstractInternalTerms.AbstractTermsBucket<B>>

java.lang.Object
org.elasticsearch.search.aggregations.InternalMultiBucketAggregation.InternalBucket
org.elasticsearch.search.aggregations.bucket.terms.AbstractInternalTerms.AbstractTermsBucket<B>
All Implemented Interfaces:
MultiBucketsAggregation.Bucket, KeyComparable<B>
Direct Known Subclasses:
InternalTerms.Bucket
Enclosing class:
AbstractInternalTerms<A extends AbstractInternalTerms<A,B>,B extends AbstractInternalTerms.AbstractTermsBucket<B>>

public abstract static class AbstractInternalTerms.AbstractTermsBucket<B extends AbstractInternalTerms.AbstractTermsBucket<B>> extends InternalMultiBucketAggregation.InternalBucket implements KeyComparable<B>
  • Constructor Details

    • AbstractTermsBucket

      public AbstractTermsBucket()
  • Method Details

    • updateDocCountError

      protected abstract void updateDocCountError(long docCountErrorDiff)
    • setDocCountError

      protected abstract void setDocCountError(long docCountError)
    • getDocCountError

      protected abstract long getDocCountError()
    • bucketToXContent

      protected abstract void bucketToXContent(XContentBuilder builder, ToXContent.Params params, boolean showDocCountError) throws IOException
      Throws:
      IOException