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 | 
|---|
AggregationFunction.SUM(CriteriaBuilderImpl criteriaBuilder,
                       Expression<? extends Number> expression,
                       Class<N> returnType)  | 
AggregationFunction.SUM(CriteriaBuilderImpl criteriaBuilder,
                       Expression<N> expression)  | 
isAggregation, isStandardJpaFunctiongetArgumentExpressions, properSize, registerParameters, render, renderArgumentsgetFunctionName, renderProjectionas, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNullalias, getCompoundSelectionItems, getValueHandlers, isCompoundSelectionforceConversion, getAlias, getJavaType, getValueHandler, resetJavaType, setAliascriteriaBuilderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFunctionNameas, in, in, in, in, isNotNull, isNullalias, getCompoundSelectionItems, isCompoundSelectiongetAlias, getJavaTypegetValueHandlersgetValueHandlerpublic static final String NAME
public AggregationFunction.SUM(CriteriaBuilderImpl criteriaBuilder, Expression<N> expression)
public AggregationFunction.SUM(CriteriaBuilderImpl criteriaBuilder, Expression<? extends Number> expression, Class<N> returnType)
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.