public class PartTreeN1qlBasedQuery extends AbstractN1qlBasedQuery
RepositoryQuery for Couchbase, based on query derivationqueryMethod| Constructor and Description |
|---|
PartTreeN1qlBasedQuery(CouchbaseQueryMethod queryMethod,
CouchbaseOperations couchbaseOperations) |
| Modifier and Type | Method and Description |
|---|---|
protected com.couchbase.client.java.query.Statement |
getCount(org.springframework.data.repository.query.ParameterAccessor accessor,
Object[] runtimeParameters)
The statement for a count() query.
|
protected com.couchbase.client.java.document.json.JsonValue |
getPlaceholderValues(org.springframework.data.repository.query.ParameterAccessor accessor) |
protected com.couchbase.client.java.query.Statement |
getStatement(org.springframework.data.repository.query.ParameterAccessor accessor,
Object[] runtimeParameters,
org.springframework.data.repository.query.ReturnedType returnedType) |
protected boolean |
useGeneratedCountQuery() |
buildQuery, execute, executeCollection, executeDependingOnType, executeEntity, executePaged, executeSingleProjection, executeSliced, executeStream, getCouchbaseOperations, getQueryMethodpublic PartTreeN1qlBasedQuery(CouchbaseQueryMethod queryMethod, CouchbaseOperations couchbaseOperations)
protected com.couchbase.client.java.document.json.JsonValue getPlaceholderValues(org.springframework.data.repository.query.ParameterAccessor accessor)
getPlaceholderValues in class AbstractN1qlBasedQueryprotected com.couchbase.client.java.query.Statement getCount(org.springframework.data.repository.query.ParameterAccessor accessor,
Object[] runtimeParameters)
AbstractN1qlBasedQueryCountFragment.COUNT_ALIAS.getCount in class AbstractN1qlBasedQueryCountFragmentprotected com.couchbase.client.java.query.Statement getStatement(org.springframework.data.repository.query.ParameterAccessor accessor,
Object[] runtimeParameters,
org.springframework.data.repository.query.ReturnedType returnedType)
getStatement in class AbstractN1qlBasedQueryprotected boolean useGeneratedCountQuery()
useGeneratedCountQuery in class AbstractN1qlBasedQuerycount statement should also be used when
the return type of the QueryMethod is a primitive type.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.