Packages

class QueryDsl[P] extends AnyRef

a DSL for creating queries. you can find it in your persistent type at PType.queryDsl

Source
QueryDsl.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryDsl
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new QueryDsl()

Type Members

  1. class DslPostLimit extends AnyRef

    in the query DSL, we have parsed a QueryFilter, a QueryOrderBy, an offset and a limit clause.

    in the query DSL, we have parsed a QueryFilter, a QueryOrderBy, an offset and a limit clause. there is one possibility for what comes next:

    1. we are done parsing the complete QueryFilter.

  2. class DslPostOffset extends AnyRef

    in the query DSL, we have parsed a QueryFilter, a QueryOrderBy, and an offset clause.

    in the query DSL, we have parsed a QueryFilter, a QueryOrderBy, and an offset clause. there are two possibilities for what comes next:

    1. we parse a limit clause

    2. we are done parsing the complete QueryFilter.

  3. class DslPostOrderBy extends AnyRef

    in the query DSL, we have just parsed a QueryFilter and a QueryOrderBy.

    in the query DSL, we have just parsed a QueryFilter and a QueryOrderBy. there are multiple possibilities for what comes next:

    1. we parse an offset clause

    2. we parse a limit clause

    3. we are done parsing the complete QueryFilter.

  4. class DslPostProp[A] extends AnyRef

    in the query DSL, we have just parsed a property.

    in the query DSL, we have just parsed a property. next we need to parse a relational operator and a right-hand side value.

  5. class DslPostQueryFilter extends AnyRef

    in the query DSL, we have just parsed a (partial or complete) QueryFilter.

    in the query DSL, we have just parsed a (partial or complete) QueryFilter. there are multiple possibilities for what comes next:

    1. if we see a LogicalOp followed by another QueryFilter, then we combine the two query filters with the logical op.

    2. we parse an order-by clause

    3. we parse an offset clause

    4. we parse a limit clause

    5. we are done parsing the complete QueryFilter.

  6. class UnqualifiedSortExpr extends AnyRef

    we have parsed a Prop for a QuerySortExpr, now we are ready to parse an asc or desc qualifier

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from QueryDsl[P] to any2stringadd[QueryDsl[P]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (QueryDsl[P], B)
    Implicit
    This member is added by an implicit conversion from QueryDsl[P] to ArrowAssoc[QueryDsl[P]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def ensuring(cond: (QueryDsl[P]) ⇒ Boolean, msg: ⇒ Any): QueryDsl[P]
    Implicit
    This member is added by an implicit conversion from QueryDsl[P] to Ensuring[QueryDsl[P]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (QueryDsl[P]) ⇒ Boolean): QueryDsl[P]
    Implicit
    This member is added by an implicit conversion from QueryDsl[P] to Ensuring[QueryDsl[P]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): QueryDsl[P]
    Implicit
    This member is added by an implicit conversion from QueryDsl[P] to Ensuring[QueryDsl[P]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): QueryDsl[P]
    Implicit
    This member is added by an implicit conversion from QueryDsl[P] to Ensuring[QueryDsl[P]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def filterAll: DslPostQueryFilter

    begin parsing with a FilterAll query filter

  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from QueryDsl[P] to StringFormat[QueryDsl[P]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. implicit def toQuery(postLimit: DslPostLimit): Query[P]

    we are done parsing a complete Query

  25. implicit def toQuery(postOffset: DslPostOffset): Query[P]

    we are done parsing a complete Query

  26. implicit def toQuery(postOrderBy: DslPostOrderBy): Query[P]

    we are done parsing a complete Query

  27. implicit def toQuery(postFilter: DslPostQueryFilter): Query[P]

    we are done parsing a complete Query

  28. implicit def toQueryFilter(postFilter: DslPostQueryFilter): QueryFilter[P]

    we are done parsing a complete QueryFilter

  29. implicit def toQuerySortExpr[A](prop: Prop[_ >: P, A]): QuerySortExpr[P]

    we parse a Prop into a QuerySortExpr as needed

  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. implicit def toUnqualifiedSortExpr(prop: Prop[_ >: P, _]): UnqualifiedSortExpr

    parse a Prop and prepare to parse an asc or desc qualified

  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  35. implicit def where[A](prop: Prop[_ >: P, A]): DslPostProp[A]

    begin parsing a query filter with a Prop

  36. def [B](y: B): (QueryDsl[P], B)
    Implicit
    This member is added by an implicit conversion from QueryDsl[P] to ArrowAssoc[QueryDsl[P]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from QueryDsl[P] to any2stringadd[QueryDsl[P]]

Inherited by implicit conversion StringFormat from QueryDsl[P] to StringFormat[QueryDsl[P]]

Inherited by implicit conversion Ensuring from QueryDsl[P] to Ensuring[QueryDsl[P]]

Inherited by implicit conversion ArrowAssoc from QueryDsl[P] to ArrowAssoc[QueryDsl[P]]

Ungrouped