public abstract class ProjectionMethodExpression
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ProjectionMethodExpression.Avg
Avg projection. 
 | 
static class  | 
ProjectionMethodExpression.Distinct
The distinct projection creator. 
 | 
static class  | 
ProjectionMethodExpression.Max
Max projection. 
 | 
static class  | 
ProjectionMethodExpression.Min
Min projection. 
 | 
static class  | 
ProjectionMethodExpression.Property
The property projection. 
 | 
static class  | 
ProjectionMethodExpression.Sum
Sum projection. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract void | 
apply(MethodMatchContext matchContext,
     QueryModel query)
Apply the projection to the query object. 
 | 
abstract io.micronaut.inject.ast.ClassElement | 
getExpectedResultType()  | 
int | 
getRequiredProperties()  | 
protected ProjectionMethodExpression | 
init(MethodMatchContext matchContext,
    java.lang.String projectionDefinition)
Creates the projection or returns null if an error occurred reporting the error to the visitor context. 
 | 
protected abstract ProjectionMethodExpression | 
initProjection(MethodMatchContext matchContext,
              java.lang.String remaining)
Initialize the projection, returning null if it cannot be initialized. 
 | 
static ProjectionMethodExpression | 
matchProjection(MethodMatchContext matchContext,
               java.lang.String projection)
Match a projection. 
 | 
@Nullable public static ProjectionMethodExpression matchProjection(@NonNull MethodMatchContext matchContext, @NonNull java.lang.String projection)
matchContext - The contextprojection - The projection to match@Nullable protected final ProjectionMethodExpression init(@NonNull MethodMatchContext matchContext, @NonNull java.lang.String projectionDefinition)
matchContext - The visitor contextprojectionDefinition - The projection definition@Nullable protected abstract ProjectionMethodExpression initProjection(@NonNull MethodMatchContext matchContext, @Nullable java.lang.String remaining)
matchContext - The match contextremaining - The remaing projection stringprotected abstract void apply(@NonNull
                              MethodMatchContext matchContext,
                              @NonNull
                              QueryModel query)
matchContext - The match context.query - The query object.public int getRequiredProperties()
@NonNull public abstract io.micronaut.inject.ast.ClassElement getExpectedResultType()