public static class Query.ProjectionList
A list of projections
Type | Name and description |
---|---|
ProjectionList |
add(Projection p) |
ProjectionList |
avg(java.lang.String name) Computes the average value of a property |
ProjectionList |
count() |
ProjectionList |
countDistinct(java.lang.String property) |
ProjectionList |
distinct() |
ProjectionList |
distinct(java.lang.String property) |
java.util.List<Projection> |
getProjectionList() |
ProjectionList |
id() |
boolean |
isEmpty() |
ProjectionList |
max(java.lang.String name) Computes the max value of a property |
ProjectionList |
min(java.lang.String name) Computes the min value of a property |
ProjectionList |
property(java.lang.String name) A projection that obtains the value of a property of an entity |
ProjectionList |
rowCount() |
ProjectionList |
sum(java.lang.String name) Computes the sum of a property |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
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