Package com.querydsl.core.group
Interface GroupExpression<T,R>
- Type Parameters:
T- Element typeR- Target type (e.g. List, Set)
- All Superinterfaces:
Expression<R>,Serializable
- All Known Implementing Classes:
AbstractGroupExpression,MixinGroupExpression
Defines the way results of a given expression are grouped. GroupExpressions are also used
to access values of a given GroupExpression within a Group.
GroupExpressions are stateless wrappers for Expressions that know how to
collect row values into a group.
- Author:
- sasa, tiwe
-
Method Summary
Modifier and TypeMethodDescriptionCreate a new GroupCollector to collect values belonging to this group.Get the expression wrapped by this group definitionMethods inherited from interface com.querydsl.core.types.Expression
accept, getType
-
Method Details
-
getExpression
Expression<T> getExpression()Get the expression wrapped by this group definition- Returns:
- wrapped expression
-
createGroupCollector
GroupCollector<T,R> createGroupCollector()Create a new GroupCollector to collect values belonging to this group.- Returns:
- new GroupCollector
-