Interface AggregationFinalStep<A>
- Type Parameters:
A
- The type of result for this aggregation.
- All Known Subinterfaces:
AvgAggregationOptionsStep<SR,
,S, PDF, F> CountAggregationOptionsStep<SR,
,S, PDF> CountDistinctAggregationOptionsStep<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> SumAggregationOptionsStep<SR,
,S, PDF, F> TermsAggregationOptionsStep<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 aSearchAggregation
instance matching the definition given in the previous DSL steps.
-
Method Details
-
toAggregation
SearchAggregation<A> toAggregation()Create aSearchAggregation
instance matching the definition given in the previous DSL steps.- Returns:
- The
SearchAggregation
resulting from the previous DSL steps.
-