public static class AggregationFunction.SUM<N extends java.lang.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 java.lang.Comparable<X>>, AggregationFunction.LEAST<X extends java.lang.Comparable<X>>, AggregationFunction.MAX<N extends java.lang.Number>, AggregationFunction.MIN<N extends java.lang.Number>, AggregationFunction.SUM<N extends java.lang.Number>ParameterContainer.Helper| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
STANDARD_JPA_FUNCTION_NAMES| Constructor and Description |
|---|
SUM(CriteriaBuilderImpl criteriaBuilder,
javax.persistence.criteria.Expression<? extends java.lang.Number> expression,
java.lang.Class<N> returnType) |
SUM(CriteriaBuilderImpl criteriaBuilder,
javax.persistence.criteria.Expression<N> expression) |
isAggregation, isStandardJpaFunctiongetArgumentExpressions, properSize, registerParameters, render, renderArgumentsgetFunctionNameas, 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, isCompoundSelectiongetValueHandlersgetValueHandlerrenderGroupBy, renderProjectionpublic static final java.lang.String NAME
public SUM(CriteriaBuilderImpl criteriaBuilder, javax.persistence.criteria.Expression<N> expression)
public SUM(CriteriaBuilderImpl criteriaBuilder, javax.persistence.criteria.Expression<? extends java.lang.Number> expression, java.lang.Class<N> returnType)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.