站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

Uses of Interface org.hibernate.criterion.Projection (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


Uses of Interface
org.hibernate.criterion.Projection

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.impl This package contains implementations of the central Hibernate APIs, especially the Hibernate session. 
 

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
 

Classes in org.hibernate.criterion that implement Projection
 class AggregateProjection
          An aggregation
 class AliasedProjection
           
 class AvgProjection
           
 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
 Projection SimpleProjection.as(String alias)
           
static Projection Projections.distinct(Projection proj)
          Create a distinct projection from a projection
static Projection Projections.rowCount()
          The query row count, ie.
static Projection Projections.sqlProjection(String sql, String[] columnAliases, Type[] types)
          A SQL projection, a typed select clause fragment
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.alias(Projection projection, String alias)
          Assign an alias to a projection, by wrapping it
 Projection ProjectionList.getProjection(int i)
           
 

Methods in org.hibernate.criterion with parameters of type Projection
static Projection Projections.distinct(Projection proj)
          Create a distinct projection from a projection
static Projection Projections.alias(Projection projection, String alias)
          Assign an alias to a projection, by wrapping it
 ProjectionList ProjectionList.add(Projection proj)
           
 ProjectionList ProjectionList.add(Projection projection, String alias)
           
 DetachedCriteria DetachedCriteria.setProjection(Projection projection)
           
 

Constructors in org.hibernate.criterion with parameters of type Projection
Distinct(Projection proj)
           
AliasedProjection(Projection projection, String alias)
           
 

Uses of Projection in org.hibernate.impl
 

Methods in org.hibernate.impl that return Projection
 Projection CriteriaImpl.getProjection()
           
 

Methods in org.hibernate.impl with parameters of type Projection
 Criteria CriteriaImpl.setProjection(Projection projection)
           
 Criteria CriteriaImpl.Subcriteria.setProjection(Projection projection)