Interface CompositeAggregationFrom1AsStep<V1>
- Type Parameters:
V1- The type of values returned by the single inner aggregation.
- All Superinterfaces:
CompositeAggregationFromAsStep
@Incubating
public interface CompositeAggregationFrom1AsStep<V1>
extends CompositeAggregationFromAsStep
The step in a "multi-step" composite aggregation definition
where a single inner aggregation has been defined
and the result of the composite aggregation can be defined.
-
Method Summary
Modifier and TypeMethodDescription<V> AggregationFinalStep<V> Defines the result of the composite aggregation as the result of applying the given function to the single inner aggregation defined so far.Methods inherited from interface org.hibernate.search.engine.search.aggregation.dsl.CompositeAggregationFromAsStep
asArray, asArray, asList, asList
-
Method Details
-
as
Defines the result of the composite aggregation as the result of applying the given function to the single inner aggregation defined so far.- Type Parameters:
V- The type of values returned by the transformer.- Parameters:
transformer- A function to transform the values of inner aggregations defined so far.- Returns:
- The next DSL step.
-