Uses of Interface
org.hibernate.criterion.Projection
-
Packages that use Projection Package Description org.hibernate org.hibernate.criterion -
-
Uses of Projection in org.hibernate
Methods in org.hibernate with parameters of type Projection Modifier and Type Method Description Criteria
Criteria. setProjection(Projection projection)
Used to specify that the query results will be a projection (scalar in nature). -
Uses of Projection in org.hibernate.criterion
Subinterfaces of Projection in org.hibernate.criterion Modifier and Type Interface Description interface
EnhancedProjection
An "enhanced" Projection for aCriteria
query.Classes in org.hibernate.criterion that implement Projection Modifier and Type Class Description class
AggregateProjection
Base class for standard aggregation functions.class
AliasedProjection
Represents a projection that specifies an aliasclass
AvgProjection
An avg() projectionclass
CountProjection
A count projectionclass
Distinct
A wrappedProjection that is a wrapper around other projections to apply distinction.class
ForeingKeyProjection
class
IdentifierProjection
A property value, or grouped property valueclass
ProjectionList
A projection that wraps other projections to allow selecting multiple values.class
Property
A factory for property-specific criterion and projection instancesclass
PropertyProjection
A property value, or grouped property valueclass
RowCountProjection
A row countclass
SimpleProjection
A single-column projection that may be aliasedclass
SQLProjection
A SQL fragment.Methods in org.hibernate.criterion that return Projection Modifier and Type Method Description static Projection
Projections. alias(Projection projection, java.lang.String alias)
Assign an alias to a projection, by wrapping itProjection
SimpleProjection. as(java.lang.String alias)
Create an aliased form of this projectionstatic Projection
Projections. distinct(Projection projection)
Create a distinct projection from a projection.Projection
ProjectionList. getProjection(int i)
Access a wrapped projection by indexstatic Projection
Projections. rowCount()
The query row count, ie.static Projection
Projections. sqlGroupProjection(java.lang.String sql, java.lang.String groupBy, java.lang.String[] columnAliases, Type[] types)
A grouping SQL projection, specifying both select clause and group by clause fragmentsstatic Projection
Projections. sqlProjection(java.lang.String sql, java.lang.String[] columnAliases, Type[] types)
A SQL projection, a typed select clause fragmentMethods in org.hibernate.criterion with parameters of type Projection Modifier and Type Method Description ProjectionList
ProjectionList. add(Projection projection)
Add a projection to this list of projectionsProjectionList
ProjectionList. add(Projection projection, java.lang.String alias)
Adds a projection to this list of projections after wrapping it with an aliasstatic Projection
Projections. alias(Projection projection, java.lang.String alias)
Assign an alias to a projection, by wrapping itstatic Projection
Projections. distinct(Projection projection)
Create a distinct projection from a projection.DetachedCriteria
DetachedCriteria. setProjection(Projection projection)
Set the projection to use.Constructors in org.hibernate.criterion with parameters of type Projection Constructor Description AliasedProjection(Projection projection, java.lang.String alias)
Distinct(Projection wrappedProjection)
Constructs a Distinct
-