Interface QueryLookupStrategy
public interface QueryLookupStrategy
Strategy interface for which way to lookup
RepositoryQuerys.- Author:
- Oliver Gierke
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionresolveQuery(Method method, RepositoryMetadata metadata, ProjectionFactory factory, NamedQueries namedQueries) Resolves aRepositoryQueryfrom the givenQueryMethodthat can be executed afterwards.
-
Method Details
-
resolveQuery
RepositoryQuery resolveQuery(Method method, RepositoryMetadata metadata, ProjectionFactory factory, NamedQueries namedQueries) Resolves aRepositoryQueryfrom the givenQueryMethodthat 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:
-