Class ReactivePartTreeCouchbaseQuery
java.lang.Object
org.springframework.data.couchbase.repository.query.AbstractCouchbaseQueryBase<ReactiveCouchbaseOperations>
org.springframework.data.couchbase.repository.query.AbstractReactiveCouchbaseQuery
org.springframework.data.couchbase.repository.query.ReactivePartTreeCouchbaseQuery
- All Implemented Interfaces:
RepositoryQuery
Reactive PartTree
RepositoryQuery implementation for Couchbase. Replaces ReactivePartN1qlBasedQuery- Since:
- 4.1
- Author:
- Michael Reiche
-
Constructor Summary
ConstructorsConstructorDescriptionReactivePartTreeCouchbaseQuery(ReactiveCouchbaseQueryMethod method, ReactiveCouchbaseOperations operations, ValueExpressionDelegate valueExpressionDelegate) -
Method Summary
Modifier and TypeMethodDescriptionprotected QuerycreateCountQuery(ParametersParameterAccessor accessor) Creates aQueryinstance using the givenParametersParameterAccessor.protected QuerycreateQuery(ParametersParameterAccessor accessor) Creates aQueryinstance using the givenParameterAccessorgetTree()Return thePartTreebacking the query.protected booleanReturn whether the query has an explicit limit set.Methods inherited from class AbstractReactiveCouchbaseQuery
doExecuteMethods inherited from class AbstractCouchbaseQueryBase
execute, getOperations, getQueryMethod, isCountQuery, isDeleteQuery, isExistsQueryMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RepositoryQuery
execute, getQueryMethod
-
Constructor Details
-
ReactivePartTreeCouchbaseQuery
public ReactivePartTreeCouchbaseQuery(ReactiveCouchbaseQueryMethod method, ReactiveCouchbaseOperations operations, ValueExpressionDelegate valueExpressionDelegate) - Parameters:
method- must not be null.operations- must not be null.valueExpressionDelegate- must not be null.
-
-
Method Details
-
getTree
-
createQuery
Description copied from class:AbstractCouchbaseQueryBaseCreates aQueryinstance using the givenParameterAccessor- Specified by:
createQueryin classAbstractCouchbaseQueryBase<ReactiveCouchbaseOperations>- Parameters:
accessor- must not be null.- Returns:
-
createCountQuery
Description copied from class:AbstractCouchbaseQueryBaseCreates aQueryinstance using the givenParametersParameterAccessor. Will delegate toAbstractCouchbaseQueryBase.createQuery(ParametersParameterAccessor)by default but allows customization of the count query to be triggered.- Specified by:
createCountQueryin classAbstractCouchbaseQueryBase<ReactiveCouchbaseOperations>- Parameters:
accessor- must not be null.- Returns:
-
isLimiting
protected boolean isLimiting()Description copied from class:AbstractCouchbaseQueryBaseReturn whether the query has an explicit limit set.- Specified by:
isLimitingin classAbstractCouchbaseQueryBase<ReactiveCouchbaseOperations>- Returns:
-