|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.criterion.SimpleProjection
org.hibernate.criterion.AggregateProjection
org.hibernate.criterion.AvgProjection
public class AvgProjection
An avg() projection
| Field Summary |
|---|
| Fields inherited from class org.hibernate.criterion.AggregateProjection |
|---|
propertyName |
| Constructor Summary | |
|---|---|
AvgProjection(java.lang.String propertyName)
|
|
| Method Summary | |
|---|---|
Type[] |
getTypes(Criteria criteria,
CriteriaQuery criteriaQuery)
Types returned by the rendered SQL fragment. |
| Methods inherited from class org.hibernate.criterion.AggregateProjection |
|---|
toSqlString, toString |
| Methods inherited from class org.hibernate.criterion.SimpleProjection |
|---|
as, getAliases, getColumnAliases, getColumnAliases, getTypes, isGrouped, toGroupSqlString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AvgProjection(java.lang.String propertyName)
| Method Detail |
|---|
public Type[] getTypes(Criteria criteria,
CriteriaQuery criteriaQuery)
throws HibernateException
Projectionfragment. In other words what are the types
that would represent the values this projection asked to be pulled into the result set?
getTypes in interface ProjectiongetTypes in class AggregateProjectioncriteria - The local criteria to which this project is attached (for resolution).criteriaQuery - The overall criteria query instance.
HibernateException - Indicates a problem resolving the types
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||