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
ConstructorsConstructorDescriptionAbstractReactiveCouchbaseQuery(ReactiveCouchbaseQueryMethod method, ReactiveCouchbaseOperations operations, ValueExpressionDelegate valueExpressionDelegate) Creates a newAbstractReactiveCouchbaseQueryfrom the givenReactiveCouchbaseQueryMethodandCouchbaseOperations. -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectdoExecute(CouchbaseQueryMethod method, ResultProcessor processor, ParametersParameterAccessor accessor, @Nullable Class<?> typeToRead) Execute theRepositoryQueryof the given method with the parameters provided by theaccessorMethods inherited from class AbstractCouchbaseQueryBase
createCountQuery, createQuery, execute, getOperations, getQueryMethod, isCountQuery, isDeleteQuery, isExistsQuery, isLimitingMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RepositoryQuery
execute, getQueryMethod
-
Constructor Details
-
AbstractReactiveCouchbaseQuery
public AbstractReactiveCouchbaseQuery(ReactiveCouchbaseQueryMethod method, ReactiveCouchbaseOperations operations, ValueExpressionDelegate valueExpressionDelegate) Creates a newAbstractReactiveCouchbaseQueryfrom the givenReactiveCouchbaseQueryMethodandCouchbaseOperations.- Parameters:
method- must not be null.operations- must not be null.valueExpressionDelegate- must not be null.
-
-
Method Details
-
doExecute
protected Object doExecute(CouchbaseQueryMethod method, ResultProcessor processor, ParametersParameterAccessor accessor, @Nullable Class<?> typeToRead) Execute theRepositoryQueryof the given method with the parameters provided by theaccessor- Specified by:
doExecutein classAbstractCouchbaseQueryBase<ReactiveCouchbaseOperations>- Parameters:
method- theReactiveCouchbaseQueryMethodinvoked. Never null.processor-ResultProcessorfor post procession. Never null.accessor- for providing invocation arguments. Never null.typeToRead- the desired component target type. Can be null.
-