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
ConstructorsConstructorDescriptionPartTreeN1qlBasedQuery(CouchbaseQueryMethod queryMethod, CouchbaseOperations couchbaseOperations) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected N1QLExpressiongetCount(ParameterAccessor accessor, Object[] runtimeParameters) Deprecated.The statement for a count() query.protected N1QLExpressiongetExpression(ParameterAccessor accessor, Object[] runtimeParameters, ReturnedType returnedType) Deprecated.protected com.couchbase.client.java.json.JsonValuegetPlaceholderValues(ParameterAccessor accessor) Deprecated.protected booleanDeprecated.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:
getPlaceholderValuesin classAbstractN1qlBasedQuery
-
getCount
Deprecated.Description copied from class:AbstractN1qlBasedQueryThe statement for a count() query. This must aggregate using count with the aliasCountFragment.COUNT_ALIAS.- Specified by:
getCountin classAbstractN1qlBasedQuery- See Also:
-
getExpression
protected N1QLExpression getExpression(ParameterAccessor accessor, Object[] runtimeParameters, ReturnedType returnedType) Deprecated.- Specified by:
getExpressionin classAbstractN1qlBasedQuery
-
useGeneratedCountQuery
protected boolean useGeneratedCountQuery()Deprecated.- Specified by:
useGeneratedCountQueryin classAbstractN1qlBasedQuery- Returns:
- true if the
count statementshould also be used when the return type of the QueryMethod is a primitive type.
-