Class AbstractElasticsearchBucketAggregation<K,V>
java.lang.Object
org.hibernate.search.backend.elasticsearch.search.aggregation.impl.AbstractElasticsearchAggregation<A>
org.hibernate.search.backend.elasticsearch.search.aggregation.impl.AbstractElasticsearchNestableAggregation<Map<K,V>>
org.hibernate.search.backend.elasticsearch.search.aggregation.impl.AbstractElasticsearchBucketAggregation<K,V>
- Type Parameters:
K- The type of keys in the returned map.V- The type of values in the returned map.
- All Implemented Interfaces:
ElasticsearchSearchAggregation<Map<K,,V>> SearchAggregation<Map<K,V>>
- Direct Known Subclasses:
ElasticsearchRangeAggregation,ElasticsearchTermsAggregation
public abstract class AbstractElasticsearchBucketAggregation<K,V>
extends AbstractElasticsearchNestableAggregation<Map<K,V>>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classstatic classNested classes/interfaces inherited from class org.hibernate.search.backend.elasticsearch.search.aggregation.impl.AbstractElasticsearchNestableAggregation
AbstractElasticsearchNestableAggregation.AbstractExtractor<T>Nested classes/interfaces inherited from interface org.hibernate.search.backend.elasticsearch.search.aggregation.impl.ElasticsearchSearchAggregation
ElasticsearchSearchAggregation.Extractor<T> -
Field Summary
Fields inherited from class org.hibernate.search.backend.elasticsearch.search.aggregation.impl.AbstractElasticsearchNestableAggregation
filter, nestedPathHierarchy -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voiddoRequest(com.google.gson.JsonObject outerObject, com.google.gson.JsonObject innerObject) protected final com.google.gson.JsonObjectdoRequest(AggregationRequestContext context) protected final longgetBucketDocCount(com.google.gson.JsonObject bucket) Methods inherited from class org.hibernate.search.backend.elasticsearch.search.aggregation.impl.AbstractElasticsearchNestableAggregation
extractor, isNested, requestMethods inherited from class org.hibernate.search.backend.elasticsearch.search.aggregation.impl.AbstractElasticsearchAggregation
indexNames
-
Method Details
-
doRequest
- Specified by:
doRequestin classAbstractElasticsearchNestableAggregation<Map<K,V>>
-
doRequest
protected abstract void doRequest(com.google.gson.JsonObject outerObject, com.google.gson.JsonObject innerObject) -
getBucketDocCount
protected final long getBucketDocCount(com.google.gson.JsonObject bucket)
-