Class AbstractInternalTerms.AbstractTermsBucket

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

public abstract static class AbstractInternalTerms.AbstractTermsBucket
extends InternalMultiBucketAggregation.InternalBucket
  • 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

    Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable

    Writeable.Reader<V>, Writeable.Writer<V>
  • Field Summary

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

    EMPTY_PARAMS
  • Constructor Summary

    Constructors
    Constructor Description
    AbstractTermsBucket()  
  • Method Summary

    Modifier and Type Method Description
    protected abstract long getDocCountError()  
    protected abstract boolean getShowDocCountError()  
    protected abstract void setDocCountError​(long docCountError)  
    protected abstract void updateDocCountError​(long docCountErrorDiff)  

    Methods inherited from class org.elasticsearch.search.aggregations.InternalMultiBucketAggregation.InternalBucket

    getProperty

    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

    getAggregations, getDocCount, getKey, getKeyAsString

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

    isFragment, toXContent

    Methods inherited from interface org.elasticsearch.common.io.stream.Writeable

    writeTo
  • Constructor Details

    • AbstractTermsBucket

      public AbstractTermsBucket()
  • Method Details

    • updateDocCountError

      protected abstract void updateDocCountError​(long docCountErrorDiff)
    • setDocCountError

      protected abstract void setDocCountError​(long docCountError)
    • getShowDocCountError

      protected abstract boolean getShowDocCountError()
    • getDocCountError

      protected abstract long getDocCountError()