| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Group
A group of rows. Group is build according to GroupDefinitions.
| Method Summary | ||
|---|---|---|
 | 
getGroup(GroupExpression<T,R> coldef)
Returns the value of the given group.  | 
|
 | 
getList(Expression<T> expr)
Returns a List of values in this group.  | 
|
 | 
getMap(Expression<K> key,
       Expression<V> value)
Returns a Map of values in this group  | 
|
 | 
getOne(Expression<T> expr)
Returns the value of the given single valued expression.  | 
|
 | 
getSet(Expression<T> expr)
Returns a Set of values in this group.  | 
|
 Object[] | 
toArray()
 | 
|
| Method Detail | 
|---|
Object[] toArray()
<T,R> R getGroup(GroupExpression<T,R> coldef)
T - Type of element in a single ResultSet row, i.e. type of Expression<T>R - Target type of this group, e.g. List<T>coldef - 
NoSuchElementException - if group is undefined.
ClassCastException - if group is of different type<T> T getOne(Expression<T> expr)
T - Value typeexpr - Grouped expression
NoSuchElementException - if group is undefined.
ClassCastException - if group is of different type (e.g. Set)<T> Set<T> getSet(Expression<T> expr)
T - Value type of Setexpr - Grouped expression
NoSuchElementException - if group is undefined.
ClassCastException - if group is of different type (e.g. List)<T> List<T> getList(Expression<T> expr)
T - Value type of Listexpr - Grouped expression
NoSuchElementException - if group is undefined.
ClassCastException - if group is of different type (e.g. Set)
<K,V> Map<K,V> getMap(Expression<K> key,
                      Expression<V> value)
K - Key type of result MapV - Value type of result Mapkey - Key expressionvalue - Value expression
NoSuchElementException - if group is undefined.
ClassCastException - if group is of different type (e.g. List)
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||