public static class ProjectionMethodExpression.Avg extends ProjectionMethodExpression.Property
ProjectionMethodExpression.Avg, ProjectionMethodExpression.Distinct, ProjectionMethodExpression.Max, ProjectionMethodExpression.Min, ProjectionMethodExpression.Property, ProjectionMethodExpression.Sum| Constructor and Description |
|---|
Avg() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(MethodMatchContext matchContext,
QueryModel query)
Apply the projection to the query object.
|
protected io.micronaut.inject.ast.ClassElement |
resolveExpectedType(MethodMatchContext matchContext,
io.micronaut.inject.ast.ClassElement classElement)
Resolve the expected type for the projection.
|
getExpectedResultType, getName, initProjectiongetRequiredProperties, init, matchProjectionpublic void apply(@NonNull
MethodMatchContext matchContext,
@NonNull
QueryModel query)
ProjectionMethodExpressionapply in class ProjectionMethodExpression.PropertymatchContext - The match context.query - The query object.protected io.micronaut.inject.ast.ClassElement resolveExpectedType(@NonNull
MethodMatchContext matchContext,
@NonNull
io.micronaut.inject.ast.ClassElement classElement)
ProjectionMethodExpression.PropertyresolveExpectedType in class ProjectionMethodExpression.PropertymatchContext - The match contextclassElement - The class element