Class ElasticsearchWithParametersAggregation<A>
java.lang.Object
org.hibernate.search.backend.elasticsearch.search.aggregation.impl.AbstractElasticsearchAggregation<A>
org.hibernate.search.backend.elasticsearch.search.aggregation.impl.ElasticsearchWithParametersAggregation<A>
- All Implemented Interfaces:
ElasticsearchSearchAggregation<A>,SearchAggregation<A>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.hibernate.search.backend.elasticsearch.search.aggregation.impl.AbstractElasticsearchAggregation
AbstractElasticsearchAggregation.AbstractBuilder<A>Nested classes/interfaces inherited from interface org.hibernate.search.backend.elasticsearch.search.aggregation.impl.ElasticsearchSearchAggregation
ElasticsearchSearchAggregation.Extractor<T> -
Field Summary
Fields inherited from interface org.hibernate.search.backend.elasticsearch.search.aggregation.impl.ElasticsearchSearchAggregation
log -
Method Summary
Modifier and TypeMethodDescriptionrequest(AggregationRequestContext context, AggregationKey<?> key, com.google.gson.JsonObject jsonAggregations) Contribute to the request, making sure that the requirements for this aggregation are met.Methods inherited from class org.hibernate.search.backend.elasticsearch.search.aggregation.impl.AbstractElasticsearchAggregation
indexNames
-
Method Details
-
request
public ElasticsearchSearchAggregation.Extractor<A> request(AggregationRequestContext context, AggregationKey<?> key, com.google.gson.JsonObject jsonAggregations) Description copied from interface:ElasticsearchSearchAggregationContribute to the request, making sure that the requirements for this aggregation are met.- Parameters:
context- The request context, to access context information or store information that will be made available later to theElasticsearchSearchAggregation.Extractor.extract(JsonObject, AggregationExtractContext)method.- Returns:
- The JSON object representing the aggregation.
-