Interface QueryLookupStrategy
public interface QueryLookupStrategy
Strategy interface for which way to lookup
RepositoryQuery
s.- Author:
- Oliver Gierke
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionresolveQuery
(Method method, RepositoryMetadata metadata, ProjectionFactory factory, NamedQueries namedQueries) Resolves aRepositoryQuery
from the givenQueryMethod
that can be executed afterwards.
-
Method Details
-
resolveQuery
RepositoryQuery resolveQuery(Method method, RepositoryMetadata metadata, ProjectionFactory factory, NamedQueries namedQueries) Resolves aRepositoryQuery
from the givenQueryMethod
that can be executed afterwards.- Parameters:
method
- will never be null.metadata
- will never be null.factory
- will never be null.namedQueries
- will never be null.- Returns:
-