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
-
Method Summary
Modifier and TypeMethodDescriptionprotected QueryCriteriaDefinition
createCriteria
(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.Predicate
createFilter
(com.querydsl.core.QueryMetadata metadata) protected com.querydsl.core.types.Predicate
createJoinFilter
(com.querydsl.core.QueryMetadata metadata) createProjection
(com.querydsl.core.types.Expression<?> projection) protected CouchbaseDocument
createQuery
(com.querydsl.core.types.Predicate predicate) distinct()
protected com.querydsl.core.support.QueryMixin<Q>
protected CouchbaseDocumentSerializer
limit
(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> Q
set
(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:
distinct
in interfacecom.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>
-
where
-
where
- Specified by:
where
in interfacecom.querydsl.core.FilteredClause<Q extends AbstractCouchbaseQueryDSL<Q>>
-
limit
- Specified by:
limit
in interfacecom.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>
-
offset
- Specified by:
offset
in interfacecom.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>
-
restrict
- Specified by:
restrict
in interfacecom.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>
-
orderBy
-
orderBy
- Specified by:
orderBy
in interfacecom.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>
-
set
- Specified by:
set
in interfacecom.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>
-
createProjection
-
createQuery
-
getQueryMixin
-
getSerializer
-
asDocument
-
toString
-