Class

longevity.model.ptype

QueryDsl

Related Doc: package ptype

Permalink

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()

    Permalink

Type Members

  1. class DslPostLimit extends AnyRef

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    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)

    Permalink
    Implicit information
    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

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def ensuring(cond: (QueryDsl[P]) ⇒ Boolean, msg: ⇒ Any): QueryDsl[P]

    Permalink
    Implicit information
    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]

    Permalink
    Implicit information
    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]

    Permalink
    Implicit information
    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]

    Permalink
    Implicit information
    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

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def filterAll: DslPostQueryFilter

    Permalink

    begin parsing with a FilterAll query filter

  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    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[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. implicit def toQuery(postLimit: DslPostLimit): Query[P]

    Permalink

    we are done parsing a complete Query

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

    Permalink

    we are done parsing a complete Query

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

    Permalink

    we are done parsing a complete Query

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

    Permalink

    we are done parsing a complete Query

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

    Permalink

    we are done parsing a complete QueryFilter

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

    Permalink

    we parse a Prop into a QuerySortExpr as needed

  30. def toString(): String

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

    Permalink

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

  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. implicit def where[A](prop: Prop[_ >: P, A]): DslPostProp[A]

    Permalink

    begin parsing a query filter with a Prop

  36. def [B](y: B): (QueryDsl[P], B)

    Permalink
    Implicit information
    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