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
FieldsModifier and TypeFieldDescriptionprotected static final String[]protected static final String[]protected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final String[]protected static final Stringprotected static final String[]Fields inherited from interface io.micronaut.data.processor.visitors.finders.MethodMatcher
DEFAULT_POSITIONFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmatch(MethodMatchContext matchContext) protected abstract MethodMatcher.MethodMatchmatch(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, waitMethods inherited from interface io.micronaut.data.processor.visitors.finders.MethodMatcher
getOrder
-
Field Details
-
ALL
-
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:
matchin 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
-