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 |
---|
AVG(CriteriaBuilderImpl criteriaBuilder,
javax.persistence.criteria.Expression<? extends Number> expression) |
isAggregation
getArgumentExpressions, properSize, registerParameters, render, renderArguments, wrapAsLiterals
getFunctionName, renderProjection
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
getValueHandlers
getValueHandler
public static final String NAME
public AVG(CriteriaBuilderImpl criteriaBuilder, javax.persistence.criteria.Expression<? extends Number> expression)
Copyright © 2002-2015 Red Hat Middleware, LLC. All Rights Reserved