Example usage for Java org.hibernate.criterion Projections fields, constructors, methods, implement or subclass
The text is from its open source code.
Projection | alias(Projection projection, String alias) Assign an alias to a projection, by wrapping it |
AggregateProjection | avg(String propertyName) A property average value projection |
CountProjection | count(String propertyName) A property value count projection |
CountProjection | countDistinct(String propertyName) A distinct property value count projection |
Projection | distinct(Projection projection) Create a distinct projection from a projection. |
PropertyProjection | groupProperty(String propertyName) A grouping property value projection |
IdentifierProjection | id() An identifier value projection. |
AggregateProjection | max(String propertyName) A property maximum value projection |
AggregateProjection | min(String propertyName) A property minimum value projection |
ProjectionList | projectionList() Create a new projection list. |
PropertyProjection | property(String propertyName) A property value projection |
Projection | rowCount() The query row count, ie. |
Projection | sqlGroupProjection(String sql, String groupBy, String[] columnAliases, Type[] types) A grouping SQL projection, specifying both select clause and group by clause fragments |
Projection | sqlProjection(String sql, String[] columnAliases, Type[] types) A SQL projection, a typed select clause fragment |
AggregateProjection | sum(String propertyName) A property value sum projection |