|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.dialect.function.StandardSQLFunction
org.hibernate.dialect.function.ClassicAvgFunction
public class ClassicAvgFunction
Classic AVG sqlfunction that return types as it was done in Hibernate 3.1
Constructor Summary | |
---|---|
ClassicAvgFunction()
|
Method Summary | |
---|---|
Type |
getReturnType(Type columnType,
Mapping mapping)
The return type of the function. |
Methods inherited from class org.hibernate.dialect.function.StandardSQLFunction |
---|
getName, getType, hasArguments, hasParenthesesIfNoArguments, render, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClassicAvgFunction()
Method Detail |
---|
public Type getReturnType(Type columnType, Mapping mapping) throws QueryException
StandardSQLFunction
getReturnType
in interface SQLFunction
getReturnType
in class StandardSQLFunction
columnType
- the type of the first argumentmapping
- The mapping source.
QueryException
- Indicates an issue resolving the return type.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |