Interface ExecutableAggregationOperation.TerminatingAggregation<T>
- Enclosing interface:
ExecutableAggregationOperation
public static interface ExecutableAggregationOperation.TerminatingAggregation<T>
Trigger execution by calling one of the terminating methods.
- Since:
- 2.0
- Author:
- Christoph Strobl, Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionall()Apply pipeline operations as specified and get all matching elements.map(QueryResultConverter<? super T, ? extends R> converter) Map the query result to a different type usingQueryResultConverter.stream()Apply pipeline operations as specified and stream all matching elements.
-
Method Details
-
map
@Contract("_ -> new") <R> ExecutableAggregationOperation.TerminatingAggregation<R> map(QueryResultConverter<? super T, ? extends R> converter) Map the query result to a different type usingQueryResultConverter.- Type Parameters:
R-typeof the result.- Parameters:
converter- the converter, must not be null.- Returns:
- new instance of
ExecutableAggregationOperation.TerminatingAggregation. - Throws:
IllegalArgumentException- ifconverteris null.- Since:
- 5.0
-
all
AggregationResults<T> all()Apply pipeline operations as specified and get all matching elements.- Returns:
- never null.
-
stream
-