public class StringBasedCouchbaseQuery extends AbstractCouchbaseQuery
Query to actually execute.| Constructor and Description |
|---|
StringBasedCouchbaseQuery(CouchbaseQueryMethod method,
CouchbaseOperations couchbaseOperations,
SpelExpressionParser expressionParser,
QueryMethodEvaluationContextProvider evaluationContextProvider,
NamedQueries namedQueries)
Creates a new
StringBasedCouchbaseQuery for the given String, CouchbaseQueryMethod,
CouchbaseOperations, SpelExpressionParser and QueryMethodEvaluationContextProvider. |
| Modifier and Type | Method and Description |
|---|---|
protected Query |
createCountQuery(ParametersParameterAccessor accessor)
Creates a
Query instance using the given ParametersParameterAccessor. |
protected Query |
createQuery(ParametersParameterAccessor accessor)
Creates a
Query instance using the given ParameterAccessor |
protected boolean |
isLimiting()
Return whether the query has an explicit limit set.
|
doExecuteexecute, getOperations, getQueryMethod, isCountQuery, isDeleteQuery, isExistsQueryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, getQueryMethodpublic StringBasedCouchbaseQuery(CouchbaseQueryMethod method, CouchbaseOperations couchbaseOperations, SpelExpressionParser expressionParser, QueryMethodEvaluationContextProvider evaluationContextProvider, NamedQueries namedQueries)
StringBasedCouchbaseQuery for the given String, CouchbaseQueryMethod,
CouchbaseOperations, SpelExpressionParser and QueryMethodEvaluationContextProvider.method - must not be null.couchbaseOperations - must not be null.expressionParser - must not be null.evaluationContextProvider - must not be null.namedQueries - must not be null.protected Query createQuery(ParametersParameterAccessor accessor)
AbstractCouchbaseQueryBaseQuery instance using the given ParameterAccessorcreateQuery in class AbstractCouchbaseQueryBase<CouchbaseOperations>accessor - must not be null.protected Query createCountQuery(ParametersParameterAccessor accessor)
AbstractCouchbaseQueryBaseQuery instance using the given ParametersParameterAccessor. Will delegate to
AbstractCouchbaseQueryBase.createQuery(ParametersParameterAccessor) by default but allows customization of the count query to be
triggered.createCountQuery in class AbstractCouchbaseQueryBase<CouchbaseOperations>accessor - must not be null.protected boolean isLimiting()
AbstractCouchbaseQueryBaseisLimiting in class AbstractCouchbaseQueryBase<CouchbaseOperations>Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.