public class ListSliceMethod extends ListMethod
Modifier and Type | Field and Description |
---|---|
protected static int |
POSITION |
PREFIXES
pattern
DEFAULT_POSITION
Constructor and Description |
---|
ListSliceMethod() |
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 |
isValidReturnType(io.micronaut.inject.ast.ClassElement returnType,
MatchContext matchContext)
Dictates whether this is a valid return type.
|
isMethodMatch
buildMatchInfo
applyForUpdate, applyJoinSpecs, applyOrderBy, buildRawQuery, getInterceptorElement, getInterceptorElement, getOperationType, isPage, isSlice, joinSpecsAtMatchContext, matchForUpdate, matchOrder, matchProjections, resolveFindInterceptor, resolveInterceptorType, resolveInterceptorTypeByOperationType, resolveReactiveInterceptorType
protected static final int POSITION
public int getOrder()
getOrder
in interface io.micronaut.core.order.Ordered
getOrder
in interface MethodCandidate
getOrder
in class ListMethod
@Nullable protected MethodMatchInfo buildInfo(MethodMatchContext matchContext, @NonNull io.micronaut.inject.ast.ClassElement queryResultType, @Nullable QueryModel query)
AbstractPatternBasedMethod
MethodMatchInfo
.buildInfo
in class AbstractPatternBasedMethod
matchContext
- The match contextqueryResultType
- The query result typequery
- The queryprotected boolean isValidReturnType(@NonNull io.micronaut.inject.ast.ClassElement returnType, MatchContext matchContext)
ListMethod
isValidReturnType
in class ListMethod
returnType
- The return type.matchContext
- The match context