public abstract class AbstractCouchbaseQueryDSL<Q extends AbstractCouchbaseQueryDSL<Q>> extends Object implements com.querydsl.core.SimpleQuery<Q>
| Constructor and Description |
|---|
AbstractCouchbaseQueryDSL(CouchbaseDocumentSerializer serializer) |
| Modifier and Type | Method and Description |
|---|---|
CouchbaseDocument |
asDocument() |
protected 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) |
protected Map<String,String> |
createProjection(com.querydsl.core.types.Expression<?> projection) |
protected CouchbaseDocument |
createQuery(com.querydsl.core.types.Predicate predicate) |
Q |
distinct() |
protected abstract List<Object> |
getIds(Class<?> var1,
com.querydsl.core.types.Predicate var2) |
protected com.querydsl.core.support.QueryMixin<Q> |
getQueryMixin() |
protected CouchbaseDocumentSerializer |
getSerializer() |
Q |
limit(long limit) |
Q |
offset(long offset) |
Q |
orderBy(com.querydsl.core.types.OrderSpecifier<?>... o) |
Q |
orderBy(com.querydsl.core.types.OrderSpecifier<?> o) |
Q |
restrict(com.querydsl.core.QueryModifiers modifiers) |
<T> Q |
set(com.querydsl.core.types.ParamExpression<T> param,
T value) |
String |
toString() |
Q |
where(com.querydsl.core.types.Predicate... e) |
Q |
where(com.querydsl.core.types.Predicate e) |
public AbstractCouchbaseQueryDSL(CouchbaseDocumentSerializer serializer)
protected QueryCriteriaDefinition createCriteria(com.querydsl.core.types.Predicate predicate)
@Nullable protected com.querydsl.core.types.Predicate createFilter(com.querydsl.core.QueryMetadata metadata)
@Nullable protected com.querydsl.core.types.Predicate createJoinFilter(com.querydsl.core.QueryMetadata metadata)
protected abstract List<Object> getIds(Class<?> var1, com.querydsl.core.types.Predicate var2)
public Q distinct()
distinct in interface com.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>public Q where(com.querydsl.core.types.Predicate e)
public Q where(com.querydsl.core.types.Predicate... e)
where in interface com.querydsl.core.FilteredClause<Q extends AbstractCouchbaseQueryDSL<Q>>public Q limit(long limit)
limit in interface com.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>public Q offset(long offset)
offset in interface com.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>public Q restrict(com.querydsl.core.QueryModifiers modifiers)
restrict in interface com.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>public Q orderBy(com.querydsl.core.types.OrderSpecifier<?> o)
public Q orderBy(com.querydsl.core.types.OrderSpecifier<?>... o)
orderBy in interface com.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>public <T> Q set(com.querydsl.core.types.ParamExpression<T> param, T value)
set in interface com.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>protected Map<String,String> createProjection(com.querydsl.core.types.Expression<?> projection)
protected CouchbaseDocument createQuery(@Nullable com.querydsl.core.types.Predicate predicate)
protected com.querydsl.core.support.QueryMixin<Q> getQueryMixin()
protected CouchbaseDocumentSerializer getSerializer()
public CouchbaseDocument asDocument()
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.