当前页面: 
在线文档首页 > 
Hibernate 3.2.3 正式版 API 英文文档
AggregateProjection (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档
org.hibernate.criterion
Class AggregateProjection
java.lang.Object
   org.hibernate.criterion.SimpleProjection
org.hibernate.criterion.SimpleProjection
       org.hibernate.criterion.AggregateProjection
org.hibernate.criterion.AggregateProjection
- All Implemented Interfaces: 
- Projection, Serializable
- Direct Known Subclasses: 
- AvgProjection, CountProjection
- public class AggregateProjection- extends SimpleProjection
An aggregation
- Author:
- max
- See Also:
- Serialized Form
 
 
 
 
 
propertyName
protected final String propertyName
AggregateProjection
protected AggregateProjection(String aggregate,
                              String propertyName)
toString
public String toString()
- 
 
getTypes
public Type[] getTypes(Criteria criteria,
                       CriteriaQuery criteriaQuery)
                throws HibernateException
- Description copied from interface: Projection
- Return types returned by the rendered SQL fragment
 
- 
- Parameters:
- criteria-
- criteriaQuery-
- Returns:
- Type[]
- Throws:
- HibernateException
 
toSqlString
public String toSqlString(Criteria criteria,
                          int loc,
                          CriteriaQuery criteriaQuery)
                   throws HibernateException
- Description copied from interface: Projection
- Render the SQL fragment
 
- 
- Parameters:
- criteriaQuery-
- Returns:
- String
- Throws:
- HibernateException