|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Projection | |
---|---|
org.hibernate | This package defines the central Hibernate APIs. |
org.hibernate.criterion | A framework for defining restriction criteria and order criteria. |
org.hibernate.internal | An internal package containing mostly implementations of central Hibernate APIs. |
Uses of Projection in org.hibernate |
---|
Methods in org.hibernate with parameters of type Projection | |
---|---|
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 | |
---|---|
interface |
EnhancedProjection
An "enhanced" Projection for a Criteria query. |
Classes in org.hibernate.criterion that implement Projection | |
---|---|
class |
AggregateProjection
Base class for standard aggregation functions. |
class |
AliasedProjection
|
class |
AvgProjection
An avg() projection |
class |
CountProjection
A count |
class |
Distinct
|
class |
IdentifierProjection
A property value, or grouped property value |
class |
ProjectionList
|
class |
Property
A factory for property-specific criterion and projection instances |
class |
PropertyProjection
A property value, or grouped property value |
class |
RowCountProjection
A row count |
class |
SimpleProjection
A single-column projection that may be aliased |
class |
SQLProjection
A SQL fragment. |
Methods in org.hibernate.criterion that return Projection | |
---|---|
static Projection |
Projections.alias(Projection projection,
String alias)
Assign an alias to a projection, by wrapping it |
Projection |
SimpleProjection.as(String alias)
|
static Projection |
Projections.distinct(Projection proj)
Create a distinct projection from a projection |
Projection |
ProjectionList.getProjection(int i)
|
static Projection |
Projections.rowCount()
The query row count, ie. |
static Projection |
Projections.sqlGroupProjection(String sql,
String groupBy,
String[] columnAliases,
Type[] types)
A grouping SQL projection, specifying both select clause and group by clause fragments |
static Projection |
Projections.sqlProjection(String sql,
String[] columnAliases,
Type[] types)
A SQL projection, a typed select clause fragment |
Methods in org.hibernate.criterion with parameters of type Projection | |
---|---|
ProjectionList |
ProjectionList.add(Projection proj)
|
ProjectionList |
ProjectionList.add(Projection projection,
String alias)
|
static Projection |
Projections.alias(Projection projection,
String alias)
Assign an alias to a projection, by wrapping it |
static Projection |
Projections.distinct(Projection proj)
Create a distinct projection from a projection |
DetachedCriteria |
DetachedCriteria.setProjection(Projection projection)
|
Constructors in org.hibernate.criterion with parameters of type Projection | |
---|---|
AliasedProjection(Projection projection,
String alias)
|
|
Distinct(Projection proj)
|
Uses of Projection in org.hibernate.internal |
---|
Methods in org.hibernate.internal that return Projection | |
---|---|
Projection |
CriteriaImpl.getProjection()
|
Methods in org.hibernate.internal with parameters of type Projection | |
---|---|
Criteria |
CriteriaImpl.setProjection(Projection projection)
|
Criteria |
CriteriaImpl.Subcriteria.setProjection(Projection projection)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |