public class FindSliceByMethod extends FindByFinder
Slice.| Modifier and Type | Field and Description |
|---|---|
static int |
POSITION |
PREFIXESOPERATOR_AND, OPERATOR_OR, OPERATORSpatternDEFAULT_POSITION| Constructor and Description |
|---|
FindSliceByMethod() |
| Modifier and Type | Method and Description |
|---|---|
protected MethodMatchInfo |
buildInfo(MethodMatchContext matchContext,
io.micronaut.inject.ast.ClassElement queryResultType,
QueryModel query)
Build the
MethodMatchInfo. |
int |
getOrder() |
protected boolean |
isCompatibleReturnType(io.micronaut.inject.ast.MethodElement methodElement,
MatchContext matchContext)
Is the return type compatible.
|
isMethodMatchbuildMatchInfo, hasQueryAnnotationapplyForUpdate, applyJoinSpecs, applyOrderBy, buildRawQuery, getInterceptorElement, getInterceptorElement, getOperationType, isPage, isSlice, joinSpecsAtMatchContext, matchForUpdate, matchOrder, matchProjections, resolveFindInterceptor, resolveInterceptorType, resolveInterceptorTypeByOperationType, resolveReactiveInterceptorTypepublic static final int POSITION
public int getOrder()
@Nullable protected MethodMatchInfo buildInfo(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 queryprotected boolean isCompatibleReturnType(@NonNull
io.micronaut.inject.ast.MethodElement methodElement,
@NonNull
MatchContext matchContext)
FindByFinderisCompatibleReturnType in class FindByFindermethodElement - The method elementmatchContext - The match context