public static class

StandardAnsiSqlAggregationFunctions.SumFunction

extends StandardSQLFunction
java.lang.Object
   ↳ org.hibernate.dialect.function.StandardSQLFunction
     ↳ org.hibernate.dialect.function.StandardAnsiSqlAggregationFunctions.SumFunction

Summary

Fields
public static final StandardAnsiSqlAggregationFunctions.SumFunction INSTANCE
Public Constructors
StandardAnsiSqlAggregationFunctions.SumFunction()
Public Methods
Type getReturnType(Type firstArgumentType, Mapping mapping)
The return type of the function.
Protected Methods
final int determineJdbcTypeCode(Type type, Mapping mapping)
[Expand]
Inherited Methods
From class org.hibernate.dialect.function.StandardSQLFunction
From class java.lang.Object
From interface org.hibernate.dialect.function.SQLFunction

Fields

Public Constructors

public StandardAnsiSqlAggregationFunctions.SumFunction ()

Public Methods

public Type getReturnType (Type firstArgumentType, Mapping mapping)

The return type of the function. May be either a concrete type which is preset, or variable depending upon the type of the first function argument.

Note, the 'firstArgumentType' parameter should match the one passed into render(Type, List, SessionFactoryImplementor)

Parameters
firstArgumentType The type of the first argument
mapping The mapping source.
Returns
  • The type to be expected as a return.

Protected Methods

protected final int determineJdbcTypeCode (Type type, Mapping mapping)