Interface AggregationFinalStep<A>
- Type Parameters:
A- The type of result for this aggregation.
- All Known Subinterfaces:
AvgAggregationOptionsStep<SR,S, PDF, F>, CountDistinctValuesAggregationOptionsStep<SR, S, PDF>, CountDocumentsAggregationFinalStep, CountValuesAggregationOptionsStep<SR, S, PDF>, MaxAggregationOptionsStep<SR, S, PDF, F>, MinAggregationOptionsStep<SR, S, PDF, F>, RangeAggregationOptionsStep<SR, S, PDF, F, A>, RangeAggregationRangeMoreStep<SR, S, N, PDF, F, A>, SumAggregationOptionsStep<SR, S, PDF, F>, TermsAggregationOptionsStep<SR, S, PDF, F, A>, TermsAggregationValueStep<SR, S, PDF, F, A>
public interface AggregationFinalStep<A>
The final step in an aggregation definition, where the aggregation can be retrieved.
-
Method Summary
Modifier and TypeMethodDescriptionCreate aSearchAggregationinstance matching the definition given in the previous DSL steps.
-
Method Details
-
toAggregation
SearchAggregation<A> toAggregation()Create aSearchAggregationinstance matching the definition given in the previous DSL steps.- Returns:
- The
SearchAggregationresulting from the previous DSL steps.
-