Class AbstractReactiveCouchbaseQuery
java.lang.Object
org.springframework.data.couchbase.repository.query.AbstractCouchbaseQueryBase<ReactiveCouchbaseOperations>
org.springframework.data.couchbase.repository.query.AbstractReactiveCouchbaseQuery
- All Implemented Interfaces:
RepositoryQuery
- Direct Known Subclasses:
ReactiveCouchbaseRepositoryQuery
,ReactivePartTreeCouchbaseQuery
,ReactiveStringBasedCouchbaseQuery
public abstract class AbstractReactiveCouchbaseQuery
extends AbstractCouchbaseQueryBase<ReactiveCouchbaseOperations>
implements RepositoryQuery
Base class for reactive
RepositoryQuery
implementations for Couchbase.- Since:
- 4.1
- Author:
- Michael Reiche
-
Constructor Summary
ConstructorDescriptionAbstractReactiveCouchbaseQuery
(ReactiveCouchbaseQueryMethod method, ReactiveCouchbaseOperations operations, SpelExpressionParser expressionParser, QueryMethodEvaluationContextProvider evaluationContextProvider) Creates a newAbstractReactiveCouchbaseQuery
from the givenReactiveCouchbaseQueryMethod
andCouchbaseOperations
. -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
doExecute
(CouchbaseQueryMethod method, ResultProcessor processor, ParametersParameterAccessor accessor, Class<?> typeToRead) Execute theRepositoryQuery
of the given method with the parameters provided by theaccessor
Methods inherited from class org.springframework.data.couchbase.repository.query.AbstractCouchbaseQueryBase
createCountQuery, createQuery, execute, getOperations, getQueryMethod, isCountQuery, isDeleteQuery, isExistsQuery, isLimiting
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.repository.query.RepositoryQuery
execute, getQueryMethod
-
Constructor Details
-
AbstractReactiveCouchbaseQuery
public AbstractReactiveCouchbaseQuery(ReactiveCouchbaseQueryMethod method, ReactiveCouchbaseOperations operations, SpelExpressionParser expressionParser, QueryMethodEvaluationContextProvider evaluationContextProvider) Creates a newAbstractReactiveCouchbaseQuery
from the givenReactiveCouchbaseQueryMethod
andCouchbaseOperations
.- Parameters:
method
- must not be null.operations
- must not be null.expressionParser
- must not be null.evaluationContextProvider
- must not be null.
-
-
Method Details
-
doExecute
protected Object doExecute(CouchbaseQueryMethod method, ResultProcessor processor, ParametersParameterAccessor accessor, @Nullable Class<?> typeToRead) Execute theRepositoryQuery
of the given method with the parameters provided by theaccessor
- Specified by:
doExecute
in classAbstractCouchbaseQueryBase<ReactiveCouchbaseOperations>
- Parameters:
method
- theReactiveCouchbaseQueryMethod
invoked. Never null.processor
-ResultProcessor
for post procession. Never null.accessor
- for providing invocation arguments. Never null.typeToRead
- the desired component target type. Can be null.
-