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

public class PartTreeDatastoreQuery<T> extends AbstractDatastoreQuery<T>
Name-based query method for Cloud Datastore.
Since:
1.1
  • 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