Class ReactiveAbstractN1qlBasedQuery
java.lang.Object
org.springframework.data.couchbase.repository.query.ReactiveAbstractN1qlBasedQuery
- All Implemented Interfaces:
RepositoryQuery
- Direct Known Subclasses:
ReactivePartTreeN1qlBasedQuery
- Since:
- 3.0
- Author:
- Subhashni Balakrishnan, Mark Paluch, Johannes Jasper
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
ReactiveAbstractN1qlBasedQuery
(CouchbaseQueryMethod method, ReactiveCouchbaseOperations operations) -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
protected Object
executeDependingOnType
(N1QLQuery query, QueryMethod queryMethod, Class<?> typeToRead) protected Object
executeSingleProjection
(N1QLQuery query, Class<?> typeToRead) protected ReactiveCouchbaseOperations
protected abstract N1QLExpression
getExpression
(ParameterAccessor accessor, Object[] runtimeParameters, ReturnedType returnedType) protected abstract com.couchbase.client.java.json.JsonValue
getPlaceholderValues
(ParameterAccessor accessor) protected com.couchbase.client.java.query.QueryScanConsistency
-
Field Details
-
queryMethod
-
-
Constructor Details
-
ReactiveAbstractN1qlBasedQuery
protected ReactiveAbstractN1qlBasedQuery(CouchbaseQueryMethod method, ReactiveCouchbaseOperations operations)
-
-
Method Details
-
getExpression
protected abstract N1QLExpression getExpression(ParameterAccessor accessor, Object[] runtimeParameters, ReturnedType returnedType) -
getPlaceholderValues
protected abstract com.couchbase.client.java.json.JsonValue getPlaceholderValues(ParameterAccessor accessor) -
execute
- Specified by:
execute
in interfaceRepositoryQuery
-
executeDependingOnType
protected Object executeDependingOnType(N1QLQuery query, QueryMethod queryMethod, Class<?> typeToRead) -
execute
-
executeSingleProjection
-
getQueryMethod
- Specified by:
getQueryMethod
in interfaceRepositoryQuery
-
getCouchbaseOperations
-
getScanConsistency
protected com.couchbase.client.java.query.QueryScanConsistency getScanConsistency()
-