Package org.kiwiproject.spring.data
Class AggregateResult<T>
- java.lang.Object
-
- org.kiwiproject.spring.data.AggregateResult<T>
-
- Type Parameters:
T- the content type contained in this aggregate result
@Beta public class AggregateResult<T> extends Object
A generic aggregate result containing a list of results, and a total count.- Implementation Note:
- Marked as beta because it is used by
PagingQuery.aggregatePage(Class, AggregationOperation...). Read the docs there for an explanation why that is beta.
-
-
Constructor Summary
Constructors Constructor Description AggregateResult()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> AggregateResult<T>of(Class<T> clazz)Factory to createAggregateResultinstances of a given type.
-
-
-
Method Detail
-
of
public static <T> AggregateResult<T> of(Class<T> clazz)
Factory to createAggregateResultinstances of a given type.- Type Parameters:
T- the result type- Parameters:
clazz- the Class representing the result type- Returns:
- a new instance
-
-