public class CountByMethod extends DynamicFinder
OPERATOR_AND, OPERATOR_OR, OPERATORSpatternDEFAULT_POSITION| Constructor and Description |
|---|
CountByMethod()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected MethodMatchInfo |
buildInfo(MethodMatchContext matchContext,
io.micronaut.inject.ast.ClassElement queryResultType,
QueryModel query)
Build the
MethodMatchInfo. |
boolean |
isMethodMatch(io.micronaut.inject.ast.MethodElement methodElement,
MatchContext matchContext)
Checks whether the given method is a match.
|
buildMatchInfo, hasQueryAnnotationapplyForUpdate, applyJoinSpecs, applyOrderBy, buildRawQuery, getInterceptorElement, getInterceptorElement, getOperationType, isPage, isSlice, joinSpecsAtMatchContext, matchForUpdate, matchOrder, matchProjections, resolveFindInterceptor, resolveInterceptorType, resolveInterceptorTypeByOperationType, resolveReactiveInterceptorTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOrder@Nullable protected MethodMatchInfo buildInfo(@NonNull MethodMatchContext matchContext, @NonNull io.micronaut.inject.ast.ClassElement queryResultType, @Nullable QueryModel query)
AbstractPatternBasedMethodMethodMatchInfo.buildInfo in class AbstractPatternBasedMethodmatchContext - The match contextqueryResultType - The query result typequery - The querypublic boolean isMethodMatch(io.micronaut.inject.ast.MethodElement methodElement,
MatchContext matchContext)
DynamicFinderisMethodMatch in interface MethodCandidateisMethodMatch in class DynamicFindermethodElement - The method elementmatchContext - The match context. Never null.