Class AbstractMethodMatcher
java.lang.Object
io.micronaut.data.processor.visitors.finders.AbstractMethodMatcher
- All Implemented Interfaces:
io.micronaut.core.order.Ordered
,MethodMatcher
- Direct Known Subclasses:
CountMethodMatcher
,DeleteMethodMatcher
,ExistsMethodMatcher
,FindMethodMatcher
,SaveMethodMatcher
,UpdateMethodMatcher
The method matcher that is using
MethodNameParser
.- Since:
- 4.2.0
- Author:
- Denis Stepanov
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.data.processor.visitors.finders.MethodMatcher
MethodMatcher.MethodMatch
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String[]
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String[]
protected static final String
protected static final String[]
Fields inherited from interface io.micronaut.data.processor.visitors.finders.MethodMatcher
DEFAULT_POSITION
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmatch
(MethodMatchContext matchContext) protected abstract MethodMatcher.MethodMatch
match
(MethodMatchContext matchContext, List<MethodNameParser.Match> matches) Matched the method.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.data.processor.visitors.finders.MethodMatcher
getOrder
-
Field Details
-
ALL_OR_ONE
-
TOP_OR_FIRST
-
FIRST
- See Also:
-
ORDER_VARIATIONS
-
BY
- See Also:
-
DISTINCT
- See Also:
-
FOR_UPDATE
- See Also:
-
RETURNING
- See Also:
-
-
Constructor Details
-
AbstractMethodMatcher
-
-
Method Details
-
match
- Specified by:
match
in interfaceMethodMatcher
-
match
protected abstract MethodMatcher.MethodMatch match(MethodMatchContext matchContext, List<MethodNameParser.Match> matches) Matched the method.- Parameters:
matchContext
- The match contextmatches
- The matches- Returns:
- The method match
-