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> LongReturns 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 filterQueryto be used. -
Uses of Query in org.springframework.data.couchbase.core.query
Subclasses of Query in org.springframework.data.couchbase.core.queryModifier and TypeClassDescriptionclassclassQuery 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 QueryQuery.query(QueryCriteriaDefinition criteriaDefinition) Query.scanConsistency(com.couchbase.client.java.query.QueryScanConsistency queryScanConsistency) Sets the given scan consistency on theQueryinstance.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 theQueryinstance.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 QueryN1qlQueryCreator.complete(QueryCriteria criteria, Sort sort) protected QueryStringN1qlQueryCreator.complete(QueryCriteria criteria, Sort sort) protected abstract QueryAbstractCouchbaseQueryBase.createCountQuery(ParametersParameterAccessor accessor) Creates aQueryinstance using the givenParametersParameterAccessor.protected QueryPartTreeCouchbaseQuery.createCountQuery(ParametersParameterAccessor accessor) protected QueryReactiveCouchbaseRepositoryQuery.createCountQuery(ParametersParameterAccessor accessor) Deprecated.protected QueryReactivePartTreeCouchbaseQuery.createCountQuery(ParametersParameterAccessor accessor) protected QueryReactiveStringBasedCouchbaseQuery.createCountQuery(ParametersParameterAccessor accessor) protected QueryStringBasedCouchbaseQuery.createCountQuery(ParametersParameterAccessor accessor) protected abstract QueryAbstractCouchbaseQueryBase.createQuery(ParametersParameterAccessor accessor) Creates aQueryinstance using the givenParameterAccessorN1qlQueryCreator.createQuery()protected QueryPartTreeCouchbaseQuery.createQuery(ParametersParameterAccessor accessor) protected QueryReactiveCouchbaseRepositoryQuery.createQuery(ParametersParameterAccessor accessor) Deprecated.protected QueryReactivePartTreeCouchbaseQuery.createQuery(ParametersParameterAccessor accessor) protected QueryReactiveStringBasedCouchbaseQuery.createQuery(ParametersParameterAccessor accessor) protected QueryStringBasedCouchbaseQuery.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 QuerySpringDataCouchbaseQuery.createQuery()protected QuerySpringDataCouchbaseQuery.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