Class PartTreeN1qlBasedQuery
java.lang.Object
org.springframework.data.couchbase.repository.query.AbstractN1qlBasedQuery
org.springframework.data.couchbase.repository.query.PartTreeN1qlBasedQuery
- All Implemented Interfaces:
RepositoryQuery
Deprecated.
A
RepositoryQuery
for Couchbase, based on query derivation- Author:
- Simon Baslé, Subhashni Balakrishnan, Mark Paluch, Michael Reiche
-
Field Summary
Fields inherited from class org.springframework.data.couchbase.repository.query.AbstractN1qlBasedQuery
queryMethod
-
Constructor Summary
ConstructorDescriptionPartTreeN1qlBasedQuery
(CouchbaseQueryMethod queryMethod, CouchbaseOperations couchbaseOperations) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected N1QLExpression
getCount
(ParameterAccessor accessor, Object[] runtimeParameters) Deprecated.The statement for a count() query.protected N1QLExpression
getExpression
(ParameterAccessor accessor, Object[] runtimeParameters, ReturnedType returnedType) Deprecated.protected com.couchbase.client.java.json.JsonValue
getPlaceholderValues
(ParameterAccessor accessor) Deprecated.protected boolean
Deprecated.Methods inherited from class org.springframework.data.couchbase.repository.query.AbstractN1qlBasedQuery
buildQuery, execute, executeCollection, executeDependingOnType, executeEntity, executePaged, executeSingleProjection, executeSliced, executeStream, getCouchbaseOperations, getQueryMethod, getScanConsistency
-
Constructor Details
-
PartTreeN1qlBasedQuery
public PartTreeN1qlBasedQuery(CouchbaseQueryMethod queryMethod, CouchbaseOperations couchbaseOperations) Deprecated.
-
-
Method Details
-
getPlaceholderValues
Deprecated.- Specified by:
getPlaceholderValues
in classAbstractN1qlBasedQuery
-
getCount
Deprecated.Description copied from class:AbstractN1qlBasedQuery
The statement for a count() query. This must aggregate using count with the aliasCountFragment.COUNT_ALIAS
.- Specified by:
getCount
in classAbstractN1qlBasedQuery
- See Also:
-
getExpression
protected N1QLExpression getExpression(ParameterAccessor accessor, Object[] runtimeParameters, ReturnedType returnedType) Deprecated.- Specified by:
getExpression
in classAbstractN1qlBasedQuery
-
useGeneratedCountQuery
protected boolean useGeneratedCountQuery()Deprecated.- Specified by:
useGeneratedCountQuery
in classAbstractN1qlBasedQuery
- Returns:
- true if the
count statement
should also be used when the return type of the QueryMethod is a primitive type.
-