Models a list of projections
Type | Name and description |
---|---|
ProjectionList |
avg(java.lang.String name) Computes the average value of a property |
ProjectionList |
count() Count the number of records returned |
ProjectionList |
countDistinct(java.lang.String property) Count the number of records returned |
ProjectionList |
distinct() Projection to return only distinct records |
ProjectionList |
distinct(java.lang.String property) Projection to return only distinct properties |
ProjectionList |
id() A Projection that obtains the id of an object |
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() Count the number of records returned |
ProjectionList |
sum(java.lang.String name) Computes the sum of a property |
Computes the average value of a property
name
- The name of the propertyCount the number of records returned
Count the number of records returned
property
- The property name to countProjection to return only distinct records
Projection to return only distinct properties
property
- The property name to useA Projection that obtains the id of an object
Computes 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 propertyCount the number of records returned
Computes the sum of a property
name
- The name of the property