Package com.querydsl.couchbase.document
Class AbstractCouchbaseQueryDSL<Q extends AbstractCouchbaseQueryDSL<Q>>
java.lang.Object
com.querydsl.couchbase.document.AbstractCouchbaseQueryDSL<Q>
- All Implemented Interfaces:
com.querydsl.core.FilteredClause<Q>,com.querydsl.core.SimpleQuery<Q>
- Direct Known Subclasses:
SpringDataCouchbaseQuery
public abstract class AbstractCouchbaseQueryDSL<Q extends AbstractCouchbaseQueryDSL<Q>>
extends Object
implements com.querydsl.core.SimpleQuery<Q>
renamed from AbstractCouchbaseQuery to AbstractCouchbaseQueryDSL to avoid confusion with the AbstractCouchbaseQuery
that is in the package com.querydsl.couchbase
- Author:
- Michael Reiche
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected QueryCriteriaDefinitioncreateCriteria(com.querydsl.core.types.Predicate predicate) other spring-data project uses createQuery(Predicate filter) where the serializer creates the 'query'
and then uses the result to create a BasicQuery with queryObject = result
Couchbase Query has a 'criteria' which is a
List<QueryCriteriaDefinition> criteria
so we could create a List<QueryCriteriaDefinition> or an uber QueryCriteria that combines
all the sub QueryDefinitions in the filter.protected com.querydsl.core.types.PredicatecreateFilter(com.querydsl.core.QueryMetadata metadata) protected com.querydsl.core.types.PredicatecreateJoinFilter(com.querydsl.core.QueryMetadata metadata) createProjection(com.querydsl.core.types.Expression<?> projection) protected CouchbaseDocumentcreateQuery(com.querydsl.core.types.Predicate predicate) distinct()protected com.querydsl.core.support.QueryMixin<Q>protected CouchbaseDocumentSerializerlimit(long limit) offset(long offset) orderBy(com.querydsl.core.types.OrderSpecifier<?> o) orderBy(com.querydsl.core.types.OrderSpecifier<?>... o) restrict(com.querydsl.core.QueryModifiers modifiers) <T> Qset(com.querydsl.core.types.ParamExpression<T> param, T value) toString()where(com.querydsl.core.types.Predicate e) where(com.querydsl.core.types.Predicate... e)
-
Constructor Details
-
AbstractCouchbaseQueryDSL
-
-
Method Details
-
createCriteria
other spring-data project uses createQuery(Predicate filter) where the serializer creates the 'query'
and then uses the result to create a BasicQuery with queryObject = result
Couchbase Query has a 'criteria' which is a
List<QueryCriteriaDefinition> criteria
so we could create a List<QueryCriteriaDefinition> or an uber QueryCriteria that combines
all the sub QueryDefinitions in the filter. -
createFilter
@Nullable protected com.querydsl.core.types.Predicate createFilter(com.querydsl.core.QueryMetadata metadata) -
createJoinFilter
@Nullable protected com.querydsl.core.types.Predicate createJoinFilter(com.querydsl.core.QueryMetadata metadata) -
getIds
-
distinct
- Specified by:
distinctin interfacecom.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>
-
where
-
where
- Specified by:
wherein interfacecom.querydsl.core.FilteredClause<Q extends AbstractCouchbaseQueryDSL<Q>>
-
limit
- Specified by:
limitin interfacecom.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>
-
offset
- Specified by:
offsetin interfacecom.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>
-
restrict
- Specified by:
restrictin interfacecom.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>
-
orderBy
-
orderBy
- Specified by:
orderByin interfacecom.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>
-
set
- Specified by:
setin interfacecom.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>
-
createProjection
-
createQuery
-
getQueryMixin
-
getSerializer
-
asDocument
-
toString
-