public static class ProjectionMethodExpression.Min extends ProjectionMethodExpression.Property
ProjectionMethodExpression.Avg, ProjectionMethodExpression.Distinct, ProjectionMethodExpression.Max, ProjectionMethodExpression.Min, ProjectionMethodExpression.Property, ProjectionMethodExpression.Sum
Constructor and Description |
---|
Min() |
Modifier and Type | Method and Description |
---|---|
void |
apply(MethodMatchContext matchContext,
QueryModel query)
Apply the projection to the query object.
|
protected ProjectionMethodExpression |
initProjection(MethodMatchContext matchContext,
java.lang.String remaining)
Initialize the projection, returning null if it cannot be initialized.
|
getExpectedResultType, getName, resolveExpectedType
getRequiredProperties, init, matchProjection
public void apply(@NonNull MethodMatchContext matchContext, @NonNull QueryModel query)
ProjectionMethodExpression
apply
in class ProjectionMethodExpression.Property
matchContext
- The match context.query
- The query object.protected ProjectionMethodExpression initProjection(@NonNull MethodMatchContext matchContext, java.lang.String remaining)
ProjectionMethodExpression
initProjection
in class ProjectionMethodExpression.Property
matchContext
- The match contextremaining
- The remaing projection string