class QueryDsl[P] extends AnyRef
a DSL for creating queries. you can find
it in your persistent type at PType.queryDsl
- Source
- QueryDsl.scala
- Alphabetic
- By Inheritance
- QueryDsl
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new QueryDsl()
Type Members
-
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.
-
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.
-
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.
-
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.
-
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.
-
class
UnqualifiedSortExpr extends AnyRef
we have parsed a
Prop
for aQuerySortExpr
, now we are ready to parse anasc
ordesc
qualifier
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (QueryDsl[P], B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def ensuring(cond: (QueryDsl[P]) ⇒ Boolean, msg: ⇒ Any): QueryDsl[P]
- def ensuring(cond: (QueryDsl[P]) ⇒ Boolean): QueryDsl[P]
- def ensuring(cond: Boolean, msg: ⇒ Any): QueryDsl[P]
- def ensuring(cond: Boolean): QueryDsl[P]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
filterAll: DslPostQueryFilter
begin parsing with a
FilterAll
query filter -
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
implicit
def
toQuery(postLimit: DslPostLimit): Query[P]
we are done parsing a complete Query
-
implicit
def
toQuery(postOffset: DslPostOffset): Query[P]
we are done parsing a complete Query
-
implicit
def
toQuery(postOrderBy: DslPostOrderBy): Query[P]
we are done parsing a complete Query
-
implicit
def
toQuery(postFilter: DslPostQueryFilter): Query[P]
we are done parsing a complete Query
-
implicit
def
toQueryFilter(postFilter: DslPostQueryFilter): QueryFilter[P]
we are done parsing a complete QueryFilter
-
implicit
def
toQuerySortExpr[A](prop: Prop[_ >: P, A]): QuerySortExpr[P]
we parse a
Prop
into aQuerySortExpr
as needed -
def
toString(): String
- Definition Classes
- AnyRef → Any
-
implicit
def
toUnqualifiedSortExpr(prop: Prop[_ >: P, _]): UnqualifiedSortExpr
parse a
Prop
and prepare to parse anasc
ordesc
qualified -
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
implicit
def
where[A](prop: Prop[_ >: P, A]): DslPostProp[A]
begin parsing a query filter with a Prop
- def →[B](y: B): (QueryDsl[P], B)