T - the return type of the Query Methodpublic class GqlDatastoreQuery<T> extends AbstractDatastoreQuery<T>
| Constructor and Description |
|---|
GqlDatastoreQuery(Class<T> type,
DatastoreQueryMethod queryMethod,
DatastoreOperations datastoreTemplate,
String gql,
org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider,
DatastoreMappingContext datastoreMappingContext)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(Object[] parameters) |
convertCollectionParamToCompatibleArray, getDatastoreOperations, getQueryMethodpublic GqlDatastoreQuery(Class<T> type, DatastoreQueryMethod queryMethod, DatastoreOperations datastoreTemplate, String gql, org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider, DatastoreMappingContext datastoreMappingContext)
type - the underlying entity typequeryMethod - the underlying query method to support.datastoreTemplate - used for executing queries.gql - the query text.evaluationContextProvider - the provider used to evaluate SpEL expressions in
queries.datastoreMappingContext - used for getting metadata about entities.Copyright © 2020 Pivotal Software, Inc.. All rights reserved.