public static interface QueryFunction.Avg extends QueryFunction.PropertyQueryFunction<Double,Number>, NumericQueryExpression<Double>
The result type is always a Double
.
QueryFunction.Avg, QueryFunction.Count, QueryFunction.Max<T>, QueryFunction.Min<T>, QueryFunction.NoArgQueryFunction<T>, QueryFunction.PropertyQueryFunction<T,A>, QueryFunction.Sum<T extends Number>
Property.Builder<T,P extends Property<T>,B extends Property.Builder<T,P,B>>, Property.PropertyAccessException, Property.PropertyNotFoundException, Property.PropertyReadException, Property.PropertyReadOnlyException, Property.PropertyWriteException
Localizable.LocalizableBuilder, Localizable.LocalizationException
Expression.ExpressionResolverFunction<E extends Expression,R extends Expression>, Expression.InvalidExpressionException
Modifier and Type | Method and Description |
---|---|
static QueryFunction.Avg |
create(TypedExpression<? extends Number> argument)
Create a new
QueryFunction.Avg function instance. |
avg, count, currentDate, currentLocalDate, currentLocalDateTime, currentTimestamp, day, getExpressionArguments, hour, lower, max, min, month, sum, upper, year
between, count, eq, eq, goe, goe, gt, gt, in, in, in, isNotNull, isNull, loe, loe, lt, lt, max, min, neq, neq, nin, nin, nin
bean, constant, countAll, path, propertySet, propertySet
getConfiguration, getConvertedValue, getConverter, getExpressionValueConverter, getName, getTemporalType, getType, isReadOnly, present, render, renderIfAvailable
getValidators, validate
builder, getMessage, getMessageArguments, getMessageCode, of, of
hasConfiguration
getModelType, getModelValue
isCollectionExpression, isConverterExpression
validate
avg, sum
static QueryFunction.Avg create(TypedExpression<? extends Number> argument)
QueryFunction.Avg
function instance.argument
- Function argument (not null)QueryFunction.Avg
function instanceCopyright © 2019 The Holon Platform. All rights reserved.