public class ClassicAvgFunction extends StandardSQLFunction
Constructor and Description |
---|
ClassicAvgFunction() |
Modifier and Type | Method and Description |
---|---|
Type |
getReturnType(Type columnType,
Mapping mapping)
The return type of the function.
|
getName, getType, hasArguments, hasParenthesesIfNoArguments, render, toString
public Type getReturnType(Type columnType, Mapping mapping) throws QueryException
StandardSQLFunction
SQLFunction.render(org.hibernate.type.Type, java.util.List, org.hibernate.engine.spi.SessionFactoryImplementor)
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.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.