类 StandardAnsiSqlAggregationFunctions.SumFunction
- java.lang.Object
-
- org.hibernate.dialect.function.StandardSQLFunction
-
- org.hibernate.dialect.function.StandardAnsiSqlAggregationFunctions.SumFunction
-
- 所有已实现的接口:
SQLFunction
public static class StandardAnsiSqlAggregationFunctions.SumFunction extends StandardSQLFunction
Definition of a standard ANSI SQL compliant SUM function
-
-
字段概要
字段 修饰符和类型 字段 说明 static StandardAnsiSqlAggregationFunctions.SumFunctionINSTANCESingleton access
-
构造器概要
构造器 限定符 构造器 说明 protectedSumFunction()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected intdetermineJdbcTypeCode(Type type, Mapping mapping)TypegetReturnType(Type firstArgumentType, Mapping mapping)The return type of the function.-
从类继承的方法 org.hibernate.dialect.function.StandardSQLFunction
getName, getRenderedName, getType, hasArguments, hasParenthesesIfNoArguments, render, toString
-
-
-
-
字段详细资料
-
INSTANCE
public static final StandardAnsiSqlAggregationFunctions.SumFunction INSTANCE
Singleton access
-
-
方法详细资料
-
getReturnType
public Type getReturnType(Type firstArgumentType, Mapping mapping)
从接口复制的说明:SQLFunctionThe 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 intoSQLFunction.render(org.hibernate.type.Type, java.util.List, org.hibernate.engine.spi.SessionFactoryImplementor)- 指定者:
getReturnType在接口中SQLFunction- 覆盖:
getReturnType在类中StandardSQLFunction- 参数:
firstArgumentType- The type of the first argumentmapping- The mapping source.- 返回:
- The type to be expected as a return.
-
determineJdbcTypeCode
protected final int determineJdbcTypeCode(Type type, Mapping mapping) throws QueryException
- 抛出:
QueryException
-
-