Class DatastoreQueryLookupStrategy
java.lang.Object
com.google.cloud.spring.data.datastore.repository.query.DatastoreQueryLookupStrategy
- All Implemented Interfaces:
org.springframework.data.repository.query.QueryLookupStrategy
public class DatastoreQueryLookupStrategy
extends Object
implements org.springframework.data.repository.query.QueryLookupStrategy
Query lookup strategy for Query Methods for Cloud Datastore.
- Since:
- 1.1
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.repository.query.QueryLookupStrategy
org.springframework.data.repository.query.QueryLookupStrategy.Key
-
Constructor Summary
ConstructorDescriptionDatastoreQueryLookupStrategy
(DatastoreMappingContext datastoreMappingContext, DatastoreOperations datastoreOperations, org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.repository.query.RepositoryQuery
resolveQuery
(Method method, org.springframework.data.repository.core.RepositoryMetadata metadata, org.springframework.data.projection.ProjectionFactory projectionFactory, org.springframework.data.repository.core.NamedQueries namedQueries)
-
Constructor Details
-
DatastoreQueryLookupStrategy
public DatastoreQueryLookupStrategy(DatastoreMappingContext datastoreMappingContext, DatastoreOperations datastoreOperations, org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider)
-
-
Method Details
-
resolveQuery
public org.springframework.data.repository.query.RepositoryQuery resolveQuery(Method method, org.springframework.data.repository.core.RepositoryMetadata metadata, org.springframework.data.projection.ProjectionFactory projectionFactory, org.springframework.data.repository.core.NamedQueries namedQueries) - Specified by:
resolveQuery
in interfaceorg.springframework.data.repository.query.QueryLookupStrategy
-