public static class ProjectionMethodExpression.Distinct extends ProjectionMethodExpression
ProjectionMethodExpression.Avg, ProjectionMethodExpression.Distinct, ProjectionMethodExpression.Max, ProjectionMethodExpression.Min, ProjectionMethodExpression.Property, ProjectionMethodExpression.Sum| Constructor and Description |
|---|
Distinct()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(MethodMatchContext matchContext,
QueryModel query)
Apply the projection to the query object.
|
io.micronaut.inject.ast.ClassElement |
getExpectedResultType() |
protected ProjectionMethodExpression |
initProjection(MethodMatchContext matchContext,
java.lang.String remaining)
Initialize the projection, returning null if it cannot be initialized.
|
getRequiredProperties, init, matchProjectionprotected ProjectionMethodExpression initProjection(@NonNull MethodMatchContext matchContext, java.lang.String remaining)
ProjectionMethodExpressioninitProjection in class ProjectionMethodExpressionmatchContext - The match contextremaining - The remaing projection stringpublic void apply(@NonNull
MethodMatchContext matchContext,
@NonNull
QueryModel query)
ProjectionMethodExpressionapply in class ProjectionMethodExpressionmatchContext - The match context.query - The query object.@NonNull public io.micronaut.inject.ast.ClassElement getExpectedResultType()
getExpectedResultType in class ProjectionMethodExpression