Class AbstractCouchbaseQuery
java.lang.Object
org.springframework.data.couchbase.repository.query.AbstractCouchbaseQueryBase<CouchbaseOperations>
org.springframework.data.couchbase.repository.query.AbstractCouchbaseQuery
- All Implemented Interfaces:
RepositoryQuery
- Direct Known Subclasses:
PartTreeCouchbaseQuery, StringBasedCouchbaseQuery
public abstract class AbstractCouchbaseQuery
extends AbstractCouchbaseQueryBase<CouchbaseOperations>
implements RepositoryQuery
RepositoryQuery implementation for Couchbase.- Since:
- 4.1
- Author:
- Michael Reiche
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractCouchbaseQuery(CouchbaseQueryMethod method, CouchbaseOperations operations, ValueExpressionDelegate valueExpressionDelegate) Creates a newAbstractCouchbaseQueryfrom 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
-
AbstractCouchbaseQuery
public AbstractCouchbaseQuery(CouchbaseQueryMethod method, CouchbaseOperations operations, ValueExpressionDelegate valueExpressionDelegate) Creates a newAbstractCouchbaseQueryfrom 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<CouchbaseOperations>- 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.
-