object SqlQuery extends Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SqlQuery
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class SqlJoin(parent: TableExpr, child: TableExpr, on: List[(SqlColumn, SqlColumn)], inner: Boolean) extends ColumnOwner with Product with Serializable

    Representation of an SQL join

  2. case class SqlSelect(context: Context, withs: List[WithRef], table: TableExpr, cols: List[SqlColumn], joins: List[SqlJoin], wheres: List[Predicate], orders: List[OrderSelection[_]], offset: Option[Int], limit: Option[Int], distinct: List[SqlColumn], oneToOne: Boolean, predicate: Boolean) extends SqlQuery with Product with Serializable

    Representation of an SQL SELECT

  3. case class SqlUnion(elems: List[SqlSelect]) extends SqlQuery with Product with Serializable

    Representation of a UNION ALL of SQL SELECTs

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def combineAll(queries: List[SqlQuery]): Option[SqlQuery]

    Combine the given queries as a single SQL query

  7. def contextualiseOrderTerms[T](context: Context, owner: ColumnOwner, os: OrderSelection[T]): OrderSelection[T]

    Contextualise all terms in the given OrderSelection to the given context and owner

  8. def contextualiseTerm(context: Context, owner: ColumnOwner, term: Term[_]): SqlColumn

    Yield a copy of the given Term with all referenced SqlColumns relativised to the given context and owned by by the given owner

  9. def contextualiseWhereTerms(context: Context, owner: ColumnOwner, pred: Predicate): Predicate

    Contextualise all terms in the given Predicate to the given context and owner

  10. def embedColumn(table: TableExpr, parentTable: TableRef, col: SqlColumn): SqlColumn
  11. def embedOrderTerms[T](table: TableExpr, parentTable: TableRef, os: OrderSelection[T]): OrderSelection[T]
  12. def embedTerm(table: TableExpr, parentTable: TableRef, term: Term[_]): SqlColumn
  13. def embedWhereTerms(table: TableExpr, parentTable: TableRef, pred: Predicate): Predicate

    Embed all terms in the given Predicate in the given table and parent table

  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def isEmbeddedIn(inner: Context, outer: Context): Boolean
  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() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def ordersToFragment(orders: List[OrderSelection[_]]): Aliased[SqlMappingLike.Fragment]

    Render the given OrderSelections as a Fragment

  24. def substOrderTables[T](from: TableExpr, to: TableExpr, os: OrderSelection[T]): OrderSelection[T]

    Yields a copy of the given OrderSelection with all occurences of from replaced by to

  25. def substWhereTables(from: TableExpr, to: TableExpr, pred: Predicate): Predicate

    Yields a copy of the given Predicate with all occurences of from replaced by to

  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. def whereCols(f: (Term[_]) => SqlColumn, pred: Predicate): List[SqlColumn]

    Compute the set of columns referred to by the given prediate

  32. def wherePaths(pred: Predicate): List[List[String]]

    Compute the set of paths traversed by the given prediate

  33. def wheresToFragment(context: Context, wheres: List[Predicate]): Aliased[SqlMappingLike.Fragment]

    Render the given Predicates as a where clause Fragment

  34. object SqlJoin extends Serializable
  35. object SqlSelect extends Serializable
  36. object SqlUnion extends Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped