Uses of Class
org.springframework.data.couchbase.core.query.Query
Packages that use Query
Package
Description
This package contains the specific implementations and core classes for Spring Data Couchbase internals.
This package contains annotations and classes relative to querying with Couchbase (whether through views or N1QL) and
the associated indexes.
This package contains classes related to query derivation and concrete ways of querying couchbase.
This package contains the Couchbase implementations to support the Spring Data repository abstraction.
-
Uses of Query in org.springframework.data.couchbase.core
Methods in org.springframework.data.couchbase.core with parameters of type QueryModifier and TypeMethodDescription<T> Long
Returns the count of documents found by the query.<T> Long
<T> reactor.core.publisher.Mono<Long>
Returns the count of documents found by the query.<T> reactor.core.publisher.Mono<Long>
Set the filter for the query to be used.Set the filterQuery
to be used. -
Uses of Query in org.springframework.data.couchbase.core.query
Subclasses of Query in org.springframework.data.couchbase.core.queryModifier and TypeClassDescriptionclass
class
Query created from the string in @Query annotation in the repository interface.Methods in org.springframework.data.couchbase.core.query that return QueryModifier and TypeMethodDescriptionQuery.addCriteria
(QueryCriteriaDefinition criteriaDefinition) Query.distinct
(boolean distinct) Is this a DISTINCT query?distinctFields for query (non-null but empty means all fields) ?Query.limit
(int limit) Limit the number of returned documents tolimit
.static Query
Query.query
(QueryCriteriaDefinition criteriaDefinition) Query.scanConsistency
(com.couchbase.client.java.query.QueryScanConsistency queryScanConsistency) Sets the given scan consistency on theQuery
instance.Query.setNamedParameters
(com.couchbase.client.java.json.JsonObject parameters) set the named parameters on the query object There can only be named parameters or positional parameters - not both.Query.setPositionalParameters
(com.couchbase.client.java.json.JsonArray parameters) set the postional parameters on the query object There can only be named parameters or positional parameters - not both.Query.skip
(long skip) Set number of documents to skip before returning results.Sets the given pagination information on theQuery
instance.Query.withoutSort()
Constructors in org.springframework.data.couchbase.core.query with parameters of type Query -
Uses of Query in org.springframework.data.couchbase.core.support
Methods in org.springframework.data.couchbase.core.support with parameters of type Query -
Uses of Query in org.springframework.data.couchbase.repository.query
Methods in org.springframework.data.couchbase.repository.query that return QueryModifier and TypeMethodDescriptionprotected Query
N1qlQueryCreator.complete
(QueryCriteria criteria, Sort sort) protected Query
StringN1qlQueryCreator.complete
(QueryCriteria criteria, Sort sort) protected abstract Query
AbstractCouchbaseQueryBase.createCountQuery
(ParametersParameterAccessor accessor) Creates aQuery
instance using the givenParametersParameterAccessor
.protected Query
PartTreeCouchbaseQuery.createCountQuery
(ParametersParameterAccessor accessor) protected Query
ReactiveCouchbaseRepositoryQuery.createCountQuery
(ParametersParameterAccessor accessor) Deprecated.protected Query
ReactivePartTreeCouchbaseQuery.createCountQuery
(ParametersParameterAccessor accessor) protected Query
ReactiveStringBasedCouchbaseQuery.createCountQuery
(ParametersParameterAccessor accessor) protected Query
StringBasedCouchbaseQuery.createCountQuery
(ParametersParameterAccessor accessor) protected abstract Query
AbstractCouchbaseQueryBase.createQuery
(ParametersParameterAccessor accessor) Creates aQuery
instance using the givenParameterAccessor
N1qlQueryCreator.createQuery()
protected Query
PartTreeCouchbaseQuery.createQuery
(ParametersParameterAccessor accessor) protected Query
ReactiveCouchbaseRepositoryQuery.createQuery
(ParametersParameterAccessor accessor) Deprecated.protected Query
ReactivePartTreeCouchbaseQuery.createQuery
(ParametersParameterAccessor accessor) protected Query
ReactiveStringBasedCouchbaseQuery.createQuery
(ParametersParameterAccessor accessor) protected Query
StringBasedCouchbaseQuery.createQuery
(ParametersParameterAccessor accessor) StringN1qlQueryCreator.createQuery()
-
Uses of Query in org.springframework.data.couchbase.repository.support
Subclasses of Query in org.springframework.data.couchbase.repository.supportMethods in org.springframework.data.couchbase.repository.support that return QueryModifier and TypeMethodDescriptionprotected Query
SpringDataCouchbaseQuery.createQuery()
protected Query
SpringDataCouchbaseQuery.createQuery
(com.querydsl.core.types.Predicate filter, com.querydsl.core.types.Expression<?> projection, com.querydsl.core.QueryModifiers modifiers, List<com.querydsl.core.types.OrderSpecifier<?>> orderBy) Constructors in org.springframework.data.couchbase.repository.support with parameters of type Query