com.mysema.query.group
Class GroupByProjection<K,V>
java.lang.Object
com.mysema.query.group.GroupBy<K,V>
com.mysema.query.group.GroupByProjection<K,V>
- Type Parameters:
K
- V
-
- All Implemented Interfaces:
- ResultTransformer<Map<K,V>>
public abstract class GroupByProjection<K,V>
- extends GroupBy<K,V>
GroupByProjection provides projection of the Group results via the transform template method
- Author:
- tiwe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupByProjection
public GroupByProjection(Expression<K> key,
Expression<?>... expressions)
transform
protected Map<K,V> transform(Map<K,Group> groups)
- Overrides:
transform
in class GroupBy<K,V>
transform
protected abstract V transform(Group group)
- Creates a result object from the given group
- Parameters:
group
-
- Returns:
Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.