Class ElasticsearchTermsAggregation<F,K>
- 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>
-
- 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> extends AbstractElasticsearchBucketAggregation<K,Long>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classElasticsearchTermsAggregation.Factory<F>-
Nested classes/interfaces inherited from class org.hibernate.search.backend.elasticsearch.search.aggregation.impl.AbstractElasticsearchBucketAggregation
AbstractElasticsearchBucketAggregation.AbstractBuilder<K,V>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<K,Long>doExtract(AggregationExtractContext context, com.google.gson.JsonElement buckets)protected voiddoRequest(com.google.gson.JsonObject outerObject, com.google.gson.JsonObject innerObject)-
Methods inherited from class org.hibernate.search.backend.elasticsearch.search.aggregation.impl.AbstractElasticsearchBucketAggregation
doExtract, doRequest, getBucketDocCount
-
Methods inherited from class org.hibernate.search.backend.elasticsearch.search.aggregation.impl.AbstractElasticsearchNestableAggregation
extract, isNested, request
-
Methods inherited from class org.hibernate.search.backend.elasticsearch.search.aggregation.impl.AbstractElasticsearchAggregation
getIndexNames
-
-
-
-
Method Detail
-
doRequest
protected void doRequest(com.google.gson.JsonObject outerObject, com.google.gson.JsonObject innerObject)- Specified by:
doRequestin classAbstractElasticsearchBucketAggregation<K,Long>
-
doExtract
protected Map<K,Long> doExtract(AggregationExtractContext context, com.google.gson.JsonElement buckets)
- Specified by:
doExtractin classAbstractElasticsearchBucketAggregation<K,Long>
-
-