public static class Query.ProjectionList
A list of projections
Modifiers | Name | Description |
---|---|---|
private java.util.List<Projection> |
projections |
Type Params | Return Type | Name and description |
---|---|---|
|
public ProjectionList |
add(Projection p) |
|
public ProjectionList |
avg(java.lang.String name) Computes the average value of a property |
|
public ProjectionList |
count() |
|
public ProjectionList |
countDistinct(java.lang.String property) |
|
public ProjectionList |
distinct() |
|
public ProjectionList |
distinct(java.lang.String property) |
|
public java.util.List<Projection> |
getProjectionList() |
|
public ProjectionList |
groupProperty(java.lang.String property) |
|
public ProjectionList |
id() |
|
public boolean |
isEmpty() |
|
public ProjectionList |
max(java.lang.String name) Computes the max value of a property |
|
public ProjectionList |
min(java.lang.String name) Computes the min value of a property |
|
public ProjectionList |
property(java.lang.String name) A projection that obtains the value of a property of an entity |
|
public ProjectionList |
rowCount() |
|
public 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), java.lang.Object#wait(long, int), 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