@Deprecated public class PartTreeN1qlBasedQuery extends AbstractN1qlBasedQuery
RepositoryQuery
for Couchbase, based on query derivationqueryMethod
Constructor and Description |
---|
PartTreeN1qlBasedQuery(CouchbaseQueryMethod queryMethod,
CouchbaseOperations couchbaseOperations)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected 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 |
useGeneratedCountQuery()
Deprecated.
|
buildQuery, execute, executeCollection, executeDependingOnType, executeEntity, executePaged, executeSingleProjection, executeSliced, executeStream, getCouchbaseOperations, getQueryMethod, getScanConsistency
public PartTreeN1qlBasedQuery(CouchbaseQueryMethod queryMethod, CouchbaseOperations couchbaseOperations)
protected com.couchbase.client.java.json.JsonValue getPlaceholderValues(ParameterAccessor accessor)
getPlaceholderValues
in class AbstractN1qlBasedQuery
protected N1QLExpression getCount(ParameterAccessor accessor, Object[] runtimeParameters)
AbstractN1qlBasedQuery
CountFragment.COUNT_ALIAS
.getCount
in class AbstractN1qlBasedQuery
CountFragment
protected N1QLExpression getExpression(ParameterAccessor accessor, Object[] runtimeParameters, ReturnedType returnedType)
getExpression
in class AbstractN1qlBasedQuery
protected boolean useGeneratedCountQuery()
useGeneratedCountQuery
in class AbstractN1qlBasedQuery
count statement
should also be used when the
return type of the QueryMethod is a primitive type.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.