Class PartTreeDatastoreQuery<T>
java.lang.Object
com.google.cloud.spring.data.datastore.repository.query.AbstractDatastoreQuery<T>
com.google.cloud.spring.data.datastore.repository.query.PartTreeDatastoreQuery<T>
- Type Parameters:
T
- the return type of this Query Method
- All Implemented Interfaces:
org.springframework.data.repository.query.RepositoryQuery
Name-based query method for Cloud Datastore.
- Since:
- 1.1
-
Constructor Summary
ConstructorDescriptionPartTreeDatastoreQuery
(DatastoreQueryMethod queryMethod, DatastoreOperations datastoreTemplate, DatastoreMappingContext datastoreMappingContext, Class<T> entityType, org.springframework.data.projection.ProjectionFactory projectionFactory) Constructor. -
Method Summary
Methods inherited from class com.google.cloud.spring.data.datastore.repository.query.AbstractDatastoreQuery
convertCollectionParamToCompatibleArray, getDatastoreOperations, getQueryMethod
-
Constructor Details
-
PartTreeDatastoreQuery
public PartTreeDatastoreQuery(DatastoreQueryMethod queryMethod, DatastoreOperations datastoreTemplate, DatastoreMappingContext datastoreMappingContext, Class<T> entityType, org.springframework.data.projection.ProjectionFactory projectionFactory) Constructor.- Parameters:
queryMethod
- the metadata for this query method.datastoreTemplate
- used to execute the given query.datastoreMappingContext
- used to provide metadata for mapping results to objects.entityType
- the result domain type.projectionFactory
- the projection factory that is used to get projection information.
-
-
Method Details
-
execute
-