Class AbstractDatastoreQuery<T>

java.lang.Object
com.google.cloud.spring.data.datastore.repository.query.AbstractDatastoreQuery<T>
Type Parameters:
T - the domain type of the repository class containing this query method.
All Implemented Interfaces:
org.springframework.data.repository.query.RepositoryQuery
Direct Known Subclasses:
GqlDatastoreQuery, PartTreeDatastoreQuery

public abstract class AbstractDatastoreQuery<T> extends Object implements org.springframework.data.repository.query.RepositoryQuery
Abstract class for implementing Cloud Datastore query methods.
Since:
1.1
  • Constructor Details

  • Method Details

    • getQueryMethod

      public org.springframework.data.repository.query.QueryMethod getQueryMethod()
      Specified by:
      getQueryMethod in interface org.springframework.data.repository.query.RepositoryQuery
    • convertCollectionParamToCompatibleArray

      protected Object[] convertCollectionParamToCompatibleArray(List<?> param)
      Convert collection-like param from the query method into an array of compatible types for Datastore.
      Parameters:
      param - the raw param
      Returns:
      an array of a compatible type.
    • getDatastoreOperations

      public DatastoreOperations getDatastoreOperations()