public static class Query.ProjectionList extends Object implements org.grails.datastore.mapping.query.apiProjectionList
A list of projections
| Type Params | Return Type | Name and description |
|---|---|---|
|
public ProjectionList |
add(Projection p) |
|
public ProjectionList |
avg(String name)Computes the average value of a property |
|
public ProjectionList |
count() |
|
public ProjectionList |
countDistinct(String property) |
|
public ProjectionList |
distinct() |
|
public ProjectionList |
distinct(String property) |
|
public List<Projection> |
getProjectionList() |
|
public ProjectionList |
groupProperty(String property) |
|
public ProjectionList |
id() |
|
public boolean |
isEmpty() |
|
public ProjectionList |
max(String name)Computes the max value of a property |
|
public ProjectionList |
min(String name)Computes the min value of a property |
|
public ProjectionList |
property(String name)A projection that obtains the value of a property of an entity |
|
public ProjectionList |
rowCount() |
|
public ProjectionList |
sum(String name)Computes the sum of a property |
Computes the average value of a property
name - The name of the propertyComputes the max value of a property
name - The name of the propertyComputes the min value of a property
name - The name of the propertyA projection that obtains the value of a property of an entity
name - The name of the propertyComputes the sum of a property
name - The name of the property