Java org.hibernate.criterion Projections fields, constructors, methods, implement or subclass

Example usage for Java org.hibernate.criterion Projections fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.hibernate.criterion Projections.

The text is from its open source code.

Method

Projectionalias(Projection projection, String alias)
Assign an alias to a projection, by wrapping it
AggregateProjectionavg(String propertyName)
A property average value projection
CountProjectioncount(String propertyName)
A property value count projection
CountProjectioncountDistinct(String propertyName)
A distinct property value count projection
Projectiondistinct(Projection projection)
Create a distinct projection from a projection.
PropertyProjectiongroupProperty(String propertyName)
A grouping property value projection
IdentifierProjectionid()
An identifier value projection.
AggregateProjectionmax(String propertyName)
A property maximum value projection
AggregateProjectionmin(String propertyName)
A property minimum value projection
ProjectionListprojectionList()
Create a new projection list.
PropertyProjectionproperty(String propertyName)
A property value projection
ProjectionrowCount()
The query row count, ie.
ProjectionsqlGroupProjection(String sql, String groupBy, String[] columnAliases, Type[] types)
A grouping SQL projection, specifying both select clause and group by clause fragments
ProjectionsqlProjection(String sql, String[] columnAliases, Type[] types)
A SQL projection, a typed select clause fragment
AggregateProjectionsum(String propertyName)
A property value sum projection