Class VectorSearchMethodMatcher
java.lang.Object
io.micronaut.data.processor.visitors.finders.AbstractMethodMatcher
io.micronaut.data.processor.visitors.finders.VectorSearchMethodMatcher
- All Implemented Interfaces:
io.micronaut.core.order.Ordered, MethodMatcher
Matcher for vector-search repository methods that start with
search... and return
SearchResults. Methods that start with search... but do not return
SearchResults are handled by FindMethodMatcher instead.-
Nested Class Summary
Nested classes/interfaces inherited from interface MethodMatcher
MethodMatcher.MethodMatch -
Field Summary
Fields inherited from class AbstractMethodMatcher
ALL, ALL_OR_ONE, BY, DISTINCT, FIRST, FOR_UPDATE, ORDER_VARIATIONS, RETURNING, TOP_OR_FIRSTFields inherited from interface MethodMatcher
DEFAULT_POSITIONFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetOrder()@Nullable MethodMatcher.MethodMatchmatch(MethodMatchContext matchContext, List<MethodNameParser.Match> matches) Matched the method.Methods inherited from class AbstractMethodMatcher
match
-
Constructor Details
-
VectorSearchMethodMatcher
public VectorSearchMethodMatcher()
-
-
Method Details
-
getOrder
public int getOrder() -
match
public @Nullable MethodMatcher.MethodMatch match(MethodMatchContext matchContext, List<MethodNameParser.Match> matches) Description copied from class:AbstractMethodMatcherMatched the method.- Specified by:
matchin classAbstractMethodMatcher- Parameters:
matchContext- The match contextmatches- The matches- Returns:
- The method match
-