public static class StandardAnsiSqlAggregationFunctions.AvgFunction extends StandardSQLFunction
| Modifier and Type | Field and Description |
|---|---|
static StandardAnsiSqlAggregationFunctions.AvgFunction |
INSTANCE
Singleton access
|
| Modifier | Constructor and Description |
|---|---|
protected |
AvgFunction() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
determineJdbcTypeCode(Type firstArgumentType,
SessionFactoryImplementor factory) |
protected String |
render(int firstArgumentJdbcType,
String argument,
SessionFactoryImplementor factory) |
String |
render(Type firstArgumentType,
List arguments,
SessionFactoryImplementor factory)
Render the function call as SQL fragment.
|
protected String |
renderArgument(String argument,
int firstArgumentJdbcType) |
getName, getRenderedName, getReturnType, getType, hasArguments, hasParenthesesIfNoArguments, toStringpublic static final StandardAnsiSqlAggregationFunctions.AvgFunction INSTANCE
public String render(Type firstArgumentType, List arguments, SessionFactoryImplementor factory) throws QueryException
SQLFunctionSQLFunction.getReturnType(org.hibernate.type.Type, org.hibernate.engine.spi.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 String render(int firstArgumentJdbcType, String argument, SessionFactoryImplementor factory)
Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.