object SqlQuery extends Serializable

Source
SqlMapping.scala
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()
  6. def combineAll(queries: List[SqlQuery]): Result[SqlQuery]

    Combine the given queries as a single SQL query

  7. def combineRootNodes(nodes: List[SqlQuery]): Result[SqlQuery]
  8. def contextualiseOrderTerms[T](context: Context, owner: ColumnOwner, os: OrderSelection[T]): Result[OrderSelection[T]]

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

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

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

  10. def contextualiseWhereTerms(context: Context, owner: ColumnOwner, pred: Predicate): Result[Predicate]

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

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

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

  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def isEmbeddedIn(inner: Context, outer: Context): Boolean
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def ordersToFragment(orders: List[OrderSelection[_]]): Aliased[SqlMappingLike.Fragment]

    Render the given OrderSelections as a Fragment

  26. 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

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

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

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

    Compute the set of columns referred to by the given prediate

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

    Compute the set of paths traversed by the given prediate

  35. def whereToFragment(context: Context, pred: Predicate): Aliased[SqlMappingLike.Fragment]

    Render the given Predicate as a Fragment representing a where clause conjunct

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

    Render the given Predicates as a where clause Fragment

  37. case object EmptySqlQuery extends SqlQuery with Product with Serializable
  38. object SqlJoin extends Serializable
  39. object SqlSelect extends Serializable
  40. object SqlUnion extends Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped