类 ImplicitNumericExpressionTypeDeterminer
- java.lang.Object
-
- org.hibernate.query.criteria.internal.predicate.ImplicitNumericExpressionTypeDeterminer
-
public final class ImplicitNumericExpressionTypeDeterminer extends Object
- 作者:
- Steve Ebersole
-
-
方法详细资料
-
determineResultType
public static Class<? extends Number> determineResultType(Class<? extends Number>... types)
Determine the appropriate runtime result type for a numeric expression according to section "6.5.7.1 Result Types of Expressions" of the JPA spec. Note that it is expected that the caveats about quotient handling have already been handled.- 参数:
types- The argument/expression types- 返回:
- The appropriate numeric result type.
-
-