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 Details

  • Method Details

    • createCriteria

      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.
    • 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

      protected abstract List<Object> getIds(Class<?> var1, com.querydsl.core.types.Predicate var2)
    • distinct

      public Q distinct()
      Specified by:
      distinct in interface com.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>
    • where

      public Q where(com.querydsl.core.types.Predicate e)
    • where

      public Q where(com.querydsl.core.types.Predicate... e)
      Specified by:
      where in interface com.querydsl.core.FilteredClause<Q extends AbstractCouchbaseQueryDSL<Q>>
    • limit

      public Q limit(long limit)
      Specified by:
      limit in interface com.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>
    • offset

      public Q offset(long offset)
      Specified by:
      offset in interface com.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>
    • restrict

      public Q restrict(com.querydsl.core.QueryModifiers modifiers)
      Specified by:
      restrict in interface com.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>
    • orderBy

      public Q orderBy(com.querydsl.core.types.OrderSpecifier<?> o)
    • orderBy

      public Q orderBy(com.querydsl.core.types.OrderSpecifier<?>... o)
      Specified by:
      orderBy in interface com.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>
    • set

      public <T> Q set(com.querydsl.core.types.ParamExpression<T> param, T value)
      Specified by:
      set in interface com.querydsl.core.SimpleQuery<Q extends AbstractCouchbaseQueryDSL<Q>>
    • createProjection

      protected Map<String,String> createProjection(com.querydsl.core.types.Expression<?> projection)
    • createQuery

      protected CouchbaseDocument createQuery(@Nullable com.querydsl.core.types.Predicate predicate)
    • getQueryMixin

      protected com.querydsl.core.support.QueryMixin<Q> getQueryMixin()
    • getSerializer

      protected CouchbaseDocumentSerializer getSerializer()
    • asDocument

      public CouchbaseDocument asDocument()
    • toString

      public String toString()
      Overrides:
      toString in class Object