当前页面:
在线文档首页 >
Hibernate 3.2.3 正式版 API 英文文档
ClassicAvgFunction (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档
org.hibernate.dialect.function
Class ClassicAvgFunction
java.lang.Object
org.hibernate.dialect.function.StandardSQLFunction
org.hibernate.dialect.function.ClassicAvgFunction
- All Implemented Interfaces:
- SQLFunction
- public class ClassicAvgFunction
- extends StandardSQLFunction
Classic AVG sqlfunction that return types as it was done in Hibernate 3.1
- Author:
- Max Rydahl Andersen
Method Summary |
Type |
getReturnType(Type columnType,
Mapping mapping)
The return type of the function. May be either a concrete type which
is preset, or variable depending upon the type of the first function
argument. |
ClassicAvgFunction
public ClassicAvgFunction()
getReturnType
public Type getReturnType(Type columnType,
Mapping mapping)
throws QueryException
- Description copied from class:
StandardSQLFunction
- The return type of the function. May be either a concrete type which
is preset, or variable depending upon the type of the first function
argument.
- Specified by:
getReturnType
in interface SQLFunction
- Overrides:
getReturnType
in class StandardSQLFunction
- Throws:
QueryException