public static class AggregationFunction.AVG extends AggregationFunction<Double>
Double because thats what JPA states that the return from AVG 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| Constructor and Description |
|---|
AggregationFunction.AVG(CriteriaBuilderImpl criteriaBuilder,
Expression<? extends Number> expression) |
isAggregationgetArgumentExpressions, properSize, registerParameters, render, renderArguments, wrapAsLiteralsgetFunctionName, 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.AVG(CriteriaBuilderImpl criteriaBuilder, Expression<? extends Number> expression)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.