Module org.elasticsearch.server
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,HasAggregations,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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidbucketToXContent(XContentBuilder builder, ToXContent.Params params, boolean showDocCountError) protected abstract longprotected abstract voidsetDocCountError(long docCountError) protected abstract voidupdateDocCountError(long docCountErrorDiff) Methods inherited from class org.elasticsearch.search.aggregations.InternalMultiBucketAggregation.InternalBucket
getPropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.search.aggregations.KeyComparable
compareKeyMethods inherited from interface org.elasticsearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket
getAggregations, getDocCount, getKey, getKeyAsString
-
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
-