com.mysema.query.group
Interface GroupExpression<T,R>

Type Parameters:
T -
All Superinterfaces:
Expression<R>, Serializable
All Known Implementing Classes:
AbstractGroupExpression

public interface GroupExpression<T,R>
extends Expression<R>

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
 GroupCollector<T,R> createGroupCollector()
           
 Expression<T> getExpression()
           
 
Methods inherited from interface com.mysema.query.types.Expression
accept, getType
 

Method Detail

getExpression

Expression<T> getExpression()
Returns:
Expression wrapped by this group definition

createGroupCollector

GroupCollector<T,R> createGroupCollector()
Returns:
a new GroupCollector to collect values belonging to this group.


Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.