public interface ProjectionList
Modifier and Type | Method and Description |
---|---|
ProjectionList |
add(QueryModel.Projection projection)
Adds a projection to the projection list.
|
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 |
groupProperty(java.lang.String property)
Defines a group by projection for datastores that support it.
|
ProjectionList |
id()
A Projection that obtains the id of an object.
|
ProjectionList |
max(java.lang.String name)
Computes the pageSize 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.
|
ProjectionList id()
ProjectionList count()
ProjectionList countDistinct(java.lang.String property)
property
- The property name to countProjectionList groupProperty(java.lang.String property)
property
- The property nameProjectionList distinct()
ProjectionList distinct(java.lang.String property)
property
- The property name to useProjectionList rowCount()
ProjectionList property(java.lang.String name)
name
- The name of the propertyProjectionList sum(java.lang.String name)
name
- The name of the propertyProjectionList min(java.lang.String name)
name
- The name of the propertyProjectionList max(java.lang.String name)
name
- The name of the propertyProjectionList avg(java.lang.String name)
name
- The name of the propertyProjectionList add(@NonNull QueryModel.Projection projection)
projection
- The projection to add