Interface ElasticsearchSearchAggregation<A>
- All Superinterfaces:
SearchAggregation<A>
- All Known Implementing Classes:
AbstractElasticsearchAggregation,AbstractElasticsearchBucketAggregation,AbstractElasticsearchNestableAggregation,ElasticsearchRangeAggregation,ElasticsearchTermsAggregation,ElasticsearchWithParametersAggregation
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic <A> ElasticsearchSearchAggregation<A>from(ElasticsearchSearchIndexScope<?> scope, SearchAggregation<A> aggregation) request(AggregationRequestContext context, AggregationKey<?> key, com.google.gson.JsonObject jsonAggregations) Contribute to the request, making sure that the requirements for this aggregation are met.
-
Field Details
-
log
-
-
Method Details
-
request
ElasticsearchSearchAggregation.Extractor<A> request(AggregationRequestContext context, AggregationKey<?> key, com.google.gson.JsonObject jsonAggregations) Contribute 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.key-- Returns:
- The JSON object representing the aggregation.
-
indexNames
-
from
static <A> ElasticsearchSearchAggregation<A> from(ElasticsearchSearchIndexScope<?> scope, SearchAggregation<A> aggregation)
-