public class CountMethod extends AbstractListMethod
patternDEFAULT_POSITION| Constructor and Description |
|---|
CountMethod()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected MethodMatchInfo |
buildInfo(MethodMatchContext matchContext,
io.micronaut.inject.ast.ClassElement queryResultType,
QueryModel query)
Build the
MethodMatchInfo. |
int |
getOrder() |
boolean |
isMethodMatch(io.micronaut.inject.ast.MethodElement methodElement,
MatchContext matchContext)
Whether the given method name matches this finder.
|
buildMatchInfoapplyForUpdate, applyJoinSpecs, applyOrderBy, buildRawQuery, getInterceptorElement, getInterceptorElement, getOperationType, isPage, isSlice, joinSpecsAtMatchContext, matchForUpdate, matchOrder, matchProjections, resolveFindInterceptor, resolveInterceptorType, resolveInterceptorTypeByOperationType, resolveReactiveInterceptorTypepublic int getOrder()
public boolean isMethodMatch(io.micronaut.inject.ast.MethodElement methodElement,
MatchContext matchContext)
MethodCandidateisMethodMatch in interface MethodCandidateisMethodMatch in class AbstractPatternBasedMethodmethodElement - The method element. Never null.matchContext - The match context. Never null.@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 query