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 CriteriaCriteria. 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 interfaceEnhancedProjectionAn "enhanced" Projection for aCriteriaquery.Classes in org.hibernate.criterion that implement Projection Modifier and Type Class Description classAggregateProjectionBase class for standard aggregation functions.classAliasedProjectionRepresents a projection that specifies an aliasclassAvgProjectionAn avg() projectionclassCountProjectionA count projectionclassDistinctA wrappedProjection that is a wrapper around other projections to apply distinction.classIdentifierProjectionA property value, or grouped property valueclassProjectionListA projection that wraps other projections to allow selecting multiple values.classPropertyA factory for property-specific criterion and projection instancesclassPropertyProjectionA property value, or grouped property valueclassRowCountProjectionA row countclassSimpleProjectionA single-column projection that may be aliasedclassSQLProjectionA SQL fragment.Methods in org.hibernate.criterion that return Projection Modifier and Type Method Description static ProjectionProjections. alias(Projection projection, String alias)Assign an alias to a projection, by wrapping itProjectionSimpleProjection. as(String alias)Create an aliased form of this projectionstatic ProjectionProjections. distinct(Projection projection)Create a distinct projection from a projection.ProjectionProjectionList. getProjection(int i)Access a wrapped projection by indexstatic ProjectionProjections. rowCount()The query row count, ie.static ProjectionProjections. sqlGroupProjection(String sql, String groupBy, String[] columnAliases, Type[] types)A grouping SQL projection, specifying both select clause and group by clause fragmentsstatic ProjectionProjections. sqlProjection(String sql, 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 ProjectionListProjectionList. add(Projection projection)Add a projection to this list of projectionsProjectionListProjectionList. add(Projection projection, String alias)Adds a projection to this list of projections after wrapping it with an aliasstatic ProjectionProjections. alias(Projection projection, String alias)Assign an alias to a projection, by wrapping itstatic ProjectionProjections. distinct(Projection projection)Create a distinct projection from a projection.DetachedCriteriaDetachedCriteria. setProjection(Projection projection)Set the projection to use.Constructors in org.hibernate.criterion with parameters of type Projection Constructor Description AliasedProjection(Projection projection, String alias)Distinct(Projection wrappedProjection)Constructs a Distinct
-