Packages

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

Representation of a UNION ALL of SQL SELECTs

Source
SqlMapping.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SqlUnion
  2. SqlQuery
  3. ColumnOwner
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SqlUnion(elems: List[SqlSelect])

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. def addFilterOrderByOffsetLimit(filter: Option[(Predicate, List[SqlJoin])], orderBy: Option[(List[OrderSelection[_]], List[SqlJoin])], offset: Option[Int], limit: Option[Int], predIsOneToOne: Boolean, parentConstraints: List[List[(SqlColumn, SqlColumn)]]): Result[SqlQuery]

    Add WHERE, ORDER BY, OFFSET, and LIMIT to this query

    Add WHERE, ORDER BY, OFFSET, and LIMIT to this query

    Definition Classes
    SqlUnionSqlQuery
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def asSelects: List[SqlSelect]

    Yields a collection of SqlSelects which when combined as a union are equivalent to this query

    Yields a collection of SqlSelects which when combined as a union are equivalent to this query

    Definition Classes
    SqlQuery
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def codecs: List[(Boolean, SqlMappingLike.Codec)]

    The codecs corresponding to the columns of this query

    The codecs corresponding to the columns of this query

    Definition Classes
    SqlUnionSqlQuery
  9. lazy val cols: List[SqlColumn]

    The union of the columns of the underlying SELECTs in the order they will be yielded as the columns of this UNION

    The union of the columns of the underlying SELECTs in the order they will be yielded as the columns of this UNION

    Definition Classes
    SqlUnionSqlQuery
  10. def contains(other: ColumnOwner): Boolean
    Definition Classes
    SqlUnionColumnOwner
  11. val context: Context

    The context for this query

    The context for this query

    Definition Classes
    SqlUnionSqlQueryColumnOwner
  12. def debugShow: String
    Definition Classes
    ColumnOwner
  13. def directlyOwns(col: SqlColumn): Boolean
    Definition Classes
    SqlUnionColumnOwner
  14. val elems: List[SqlSelect]
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. def findNamedOwner(col: SqlColumn): Option[TableExpr]
    Definition Classes
    SqlUnionColumnOwner
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isSameOwner(other: ColumnOwner): Boolean
    Definition Classes
    SqlUnionColumnOwner
  21. def isUnion: Boolean

    Is this query an SQL Union

    Is this query an SQL Union

    Definition Classes
    SqlUnionSqlQuery
  22. def nameOption: Option[String]

    The name, if any, of this ColumnOwner

    The name, if any, of this ColumnOwner

    Definition Classes
    ColumnOwner
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def nest(parentContext: Context, extraCols: List[SqlColumn], oneToOne: Boolean, lateral: Boolean): Result[SqlQuery]

    Nest this query as a subobject in the enclosing parentContext

    Nest this query as a subobject in the enclosing parentContext

    Definition Classes
    SqlUnionSqlQuery
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def oneToOne: Boolean

    Does one row of this query correspond to exactly one complete GraphQL value

    Does one row of this query correspond to exactly one complete GraphQL value

    Definition Classes
    SqlUnionSqlQuery
  28. def owns(col: SqlColumn): Boolean
    Definition Classes
    SqlUnionColumnOwner
  29. def productElementNames: Iterator[String]
    Definition Classes
    Product
  30. def subst(from: TableExpr, to: TableExpr): SqlUnion

    Yields a copy of this query with all occurences of from replaced by to

    Yields a copy of this query with all occurences of from replaced by to

    Definition Classes
    SqlUnionSqlQuery
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toFragment: Aliased[SqlMappingLike.Fragment]

    Render this SqlUnion as a Fragment

    Render this SqlUnion as a Fragment

    Definition Classes
    SqlUnionSqlQuery
  33. def toSubquery(name: String, lateral: Boolean): SqlSelect

    Yields an equivalent query encapsulating this query as a subquery

    Yields an equivalent query encapsulating this query as a subquery

    Definition Classes
    SqlUnionSqlQuery
  34. def toWithQuery(name: String, refName: Option[String]): SqlSelect

    Yields an equivalent query encapsulating this query as a common table expression

    Yields an equivalent query encapsulating this query as a common table expression

    Definition Classes
    SqlUnionSqlQuery
  35. val topLevel: Boolean
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. def withContext(context: Context, extraCols: List[SqlColumn], extraJoins: List[SqlJoin]): SqlUnion

    This query in the given context

    This query in the given context

    Definition Classes
    SqlUnionSqlQuery

Inherited from SqlQuery

Inherited from ColumnOwner

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped