Class ElasticsearchTermsAggregation<F,K,T>
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,Long>
org.hibernate.search.backend.elasticsearch.search.aggregation.impl.ElasticsearchTermsAggregation<F,K,T>
- Type Parameters:
F- The type of field values.K- The type of keys in the returned map. It can beFor a different type if value converters are used.
- All Implemented Interfaces:
ElasticsearchSearchAggregation<Map<K,,Long>> SearchAggregation<Map<K,Long>>
public class ElasticsearchTermsAggregation<F,K,T>
extends AbstractElasticsearchBucketAggregation<K,Long>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprotected classNested classes/interfaces inherited from class org.hibernate.search.backend.elasticsearch.search.aggregation.impl.AbstractElasticsearchBucketAggregation
AbstractElasticsearchBucketAggregation.AbstractBucketExtractor<A,B>, AbstractElasticsearchBucketAggregation.AbstractBuilder<K, V> Nested 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 voiddoRequest(com.google.gson.JsonObject outerObject, com.google.gson.JsonObject innerObject) protected ElasticsearchSearchAggregation.Extractor<Map<K,Long>> extractor(AggregationRequestContext context) Methods inherited from class org.hibernate.search.backend.elasticsearch.search.aggregation.impl.AbstractElasticsearchBucketAggregation
doRequest, getBucketDocCountMethods inherited from class org.hibernate.search.backend.elasticsearch.search.aggregation.impl.AbstractElasticsearchNestableAggregation
isNested, requestMethods inherited from class org.hibernate.search.backend.elasticsearch.search.aggregation.impl.AbstractElasticsearchAggregation
indexNames
-
Method Details
-
doRequest
protected void doRequest(com.google.gson.JsonObject outerObject, com.google.gson.JsonObject innerObject) - Specified by:
doRequestin classAbstractElasticsearchBucketAggregation<K,Long>
-
extractor
protected ElasticsearchSearchAggregation.Extractor<Map<K,Long>> extractor(AggregationRequestContext context) - Specified by:
extractorin classAbstractElasticsearchNestableAggregation<Map<K,Long>>
-