public static class StandardAnsiSqlAggregationFunctions.SumFunction extends StandardSQLFunction
Modifier and Type | Field and Description |
---|---|
static StandardAnsiSqlAggregationFunctions.SumFunction |
INSTANCE
Singleton access
|
Modifier | Constructor and Description |
---|---|
protected |
SumFunction() |
Modifier and Type | Method and Description |
---|---|
protected int |
determineJdbcTypeCode(Type type,
Mapping mapping) |
Type |
getReturnType(Type firstArgumentType,
Mapping mapping)
The return type of the function.
|
getName, getType, hasArguments, hasParenthesesIfNoArguments, render, toString
public static final StandardAnsiSqlAggregationFunctions.SumFunction INSTANCE
public Type getReturnType(Type firstArgumentType, Mapping mapping)
SQLFunction
SQLFunction.render(org.hibernate.type.Type, java.util.List, org.hibernate.engine.spi.SessionFactoryImplementor)
getReturnType
in interface SQLFunction
getReturnType
in class StandardSQLFunction
firstArgumentType
- The type of the first argumentmapping
- The mapping source.protected final int determineJdbcTypeCode(Type type, Mapping mapping) throws QueryException
QueryException
Copyright © 2017 JBoss by Red Hat. All rights reserved.