public static class StandardAnsiSqlAggregationFunctions.AvgFunction extends StandardSQLFunction
| Modifier and Type | Field and Description |
|---|---|
static StandardAnsiSqlAggregationFunctions.AvgFunction |
INSTANCE |
| Constructor and Description |
|---|
StandardAnsiSqlAggregationFunctions.AvgFunction() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
determineJdbcTypeCode(Type firstArgumentType,
SessionFactoryImplementor factory) |
protected java.lang.String |
render(int firstArgumentJdbcType,
java.lang.String argument,
SessionFactoryImplementor factory) |
java.lang.String |
render(Type firstArgumentType,
java.util.List arguments,
SessionFactoryImplementor factory)
Render the function call as SQL fragment.
|
protected java.lang.String |
renderArgument(java.lang.String argument,
int firstArgumentJdbcType) |
getName, getReturnType, getType, hasArguments, hasParenthesesIfNoArguments, toStringpublic static final StandardAnsiSqlAggregationFunctions.AvgFunction INSTANCE
public StandardAnsiSqlAggregationFunctions.AvgFunction()
public java.lang.String render(Type firstArgumentType, java.util.List arguments, SessionFactoryImplementor factory) throws QueryException
StandardSQLFunctionSQLFunction.getReturnType(org.hibernate.type.Type, org.hibernate.engine.Mapping)render in interface SQLFunctionrender in class StandardSQLFunctionfirstArgumentType - The type of the first argumentarguments - The function argumentsfactory - The SessionFactoryQueryException - Indicates a problem rendering the
function call.protected final int determineJdbcTypeCode(Type firstArgumentType, SessionFactoryImplementor factory) throws QueryException
QueryExceptionprotected java.lang.String render(int firstArgumentJdbcType,
java.lang.String argument,
SessionFactoryImplementor factory)
protected java.lang.String renderArgument(java.lang.String argument,
int firstArgumentJdbcType)
Copyright © 2013. All Rights Reserved.