public class

AggregateProjection

extends SimpleProjection
java.lang.Object
   ↳ org.hibernate.criterion.SimpleProjection
     ↳ org.hibernate.criterion.AggregateProjection
Known Direct Subclasses

Class Overview

Base class for standard aggregation functions.

Summary

Fields
protected final String propertyName
Protected Constructors
AggregateProjection(String functionName, String propertyName)
Public Methods
String getFunctionName()
String getPropertyName()
Type[] getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
String toSqlString(Criteria criteria, int loc, CriteriaQuery criteriaQuery)
String toString()
Protected Methods
List buildFunctionParameterList(String column)
List buildFunctionParameterList(Criteria criteria, CriteriaQuery criteriaQuery)
SQLFunction getFunction(CriteriaQuery criteriaQuery)
SQLFunction getFunction(String functionName, CriteriaQuery criteriaQuery)
[Expand]
Inherited Methods
From class org.hibernate.criterion.SimpleProjection
From class java.lang.Object
From interface org.hibernate.criterion.EnhancedProjection
From interface org.hibernate.criterion.Projection

Fields

protected final String propertyName

Protected Constructors

protected AggregateProjection (String functionName, String propertyName)

Public Methods

public String getFunctionName ()

public String getPropertyName ()

public Type[] getTypes (Criteria criteria, CriteriaQuery criteriaQuery)

public String toSqlString (Criteria criteria, int loc, CriteriaQuery criteriaQuery)

public String toString ()

Protected Methods

protected List buildFunctionParameterList (String column)

protected List buildFunctionParameterList (Criteria criteria, CriteriaQuery criteriaQuery)

protected SQLFunction getFunction (CriteriaQuery criteriaQuery)

protected SQLFunction getFunction (String functionName, CriteriaQuery criteriaQuery)