Packages

package query

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. sealed case class ConditionalFilter[P](lhs: QueryFilter[P], op: LogicalOp, rhs: QueryFilter[P]) extends QueryFilter[P] with Product with Serializable

    a conditional query filter.

    a conditional query filter. combines two sub-queries with an and or an or operator.

    lhs

    the left-hand side sub-query

    op

    the and or or operator

    rhs

    the right-hand side sub-query

  2. sealed case class FilterAll[P]() extends QueryFilter[P] with Product with Serializable

    a query that filters nothing and returns everything

  3. sealed trait LogicalOp extends AnyRef

    either of the binary logical operators and and or

  4. case class Query[P](filter: QueryFilter[P], orderBy: QueryOrderBy[P] = QueryOrderBy.empty[P], offset: Option[Int] = None, limit: Option[Int] = None) extends Product with Serializable

    a query for looking up persistent objects of type P

  5. sealed trait QueryFilter[P] extends AnyRef

    a query filter for looking up persistent entities of type P

  6. case class QueryOrderBy[P](sortExprs: Seq[QuerySortExpr[P]]) extends Product with Serializable

    a query order by clause

    a query order by clause

    sortExprs

    the sort expressions that make up the order by clause

  7. sealed trait QuerySortDirection extends AnyRef

    the direction for a query sort expression

  8. case class QuerySortExpr[P](prop: Prop[_ >: P, _], direction: QuerySortDirection = Ascending) extends Product with Serializable

    a query sort expression

    a query sort expression

    prop

    the property to sort on

    direction

    the direction of the sort

  9. sealed case class RelationalFilter[P, A](prop: Prop[_ >: P, A], op: RelationalOp, value: A) extends QueryFilter[P] with Product with Serializable

    an equality query filter.

    an equality query filter. compares a property to a value with an eq, neq, lt, lte, gt, or gte operator.

    prop

    the property to compare

    op

    the relational operator

    value

    the value to compare

  10. sealed trait RelationalOp extends AnyRef

    a query relational operator.

    a query relational operator. compares a persistent property to a raw value

Value Members

  1. object AndOp extends LogicalOp with Product with Serializable

    the and operator

  2. object Ascending extends QuerySortDirection with Product with Serializable

    an ascending sort for a query sort expression

  3. object Descending extends QuerySortDirection with Product with Serializable

    a descending sort for a query sort expression

  4. object EqOp extends RelationalOp with Product with Serializable

    the equals operator

  5. object GtOp extends RelationalOp with Product with Serializable

    the greater than operator

  6. object GteOp extends RelationalOp with Product with Serializable

    the greater than equals operator

  7. object LtOp extends RelationalOp with Product with Serializable

    the less than operator

  8. object LteOp extends RelationalOp with Product with Serializable

    the less than equals operator

  9. object NeqOp extends RelationalOp with Product with Serializable

    the not equals operator

  10. object OrOp extends LogicalOp with Product with Serializable

    the or operator

  11. object QueryFilter

    query filter factory methods

  12. object QueryOrderBy extends Serializable

    contains a factory method for an empty order by clause

Ungrouped