public static class AggregationFunction.SUM<N extends Number> extends AggregationFunction<N>
N extends Number
because thats what JPA states
that the return from SUM should be.AggregationFunction.AVG, AggregationFunction.COUNT, AggregationFunction.GREATEST<X extends Comparable<X>>, AggregationFunction.LEAST<X extends Comparable<X>>, AggregationFunction.MAX<N extends Number>, AggregationFunction.MIN<N extends Number>, AggregationFunction.SUM<N extends Number>
ParameterContainer.Helper
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
STANDARD_JPA_FUNCTION_NAMES
Constructor and Description |
---|
SUM(CriteriaBuilderImpl criteriaBuilder,
Expression<? extends Number> expression,
Class<N> returnType) |
SUM(CriteriaBuilderImpl criteriaBuilder,
Expression<N> expression) |
isAggregation, isStandardJpaFunction
getArgumentExpressions, properSize, registerParameters, render, renderArguments
getFunctionName
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNull
alias, getCompoundSelectionItems, getValueHandlers, isCompoundSelection
forceConversion, getAlias, getJavaType, getValueHandler, resetJavaType, setAlias
criteriaBuilder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFunctionName
as, in, in, in, in, isNotNull, isNull
alias, getCompoundSelectionItems, isCompoundSelection
getAlias, getJavaType
getValueHandlers
getValueHandler
renderGroupBy, renderProjection
public static final String NAME
public SUM(CriteriaBuilderImpl criteriaBuilder, Expression<N> expression)
public SUM(CriteriaBuilderImpl criteriaBuilder, Expression<? extends Number> expression, Class<N> returnType)
Copyright © 2021 JBoss by Red Hat. All rights reserved.