Packages

case class SqlUnion(elems: List[SqlSelect], aliases: List[String] = Nil) extends SqlQuery with Product with Serializable

Representation of a UNION ALL of SQL SELECTs

Linear Supertypes
Serializable, Product, Equals, SqlQuery, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SqlUnion
  2. Serializable
  3. Product
  4. Equals
  5. SqlQuery
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SqlUnion(elems: List[SqlSelect], aliases: List[String] = Nil)

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 addColumns(cols: List[ColumnRef]): SqlUnion

    Add the given columns to this query

    Add the given columns to this query

    Definition Classes
    SqlUnionSqlQuery
  5. def addFilterOrderByLimit(pred: Option[Predicate], oss: Option[List[OrderSelection[_]]], limit: Option[Int], folQuery: Option[SqlSelect], aliasedMappings: AliasedMappings): Option[(SqlUnion, AliasedMappings)]

    Add WHERE, ORDER BY and LIMIT to this query

    Add WHERE, ORDER BY and LIMIT to this query

    Definition Classes
    SqlUnionSqlQuery
  6. val aliases: List[String]
  7. lazy val alignedCols: List[ColumnRef]

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

  8. lazy val alignedElems: List[SqlSelect]

    The underlying SELECTs with their columns permuted into the aligned order with any missing columns padded as NULLs

  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. val context: Context

    The context for this query

    The context for this query

    Definition Classes
    SqlUnionSqlQuery
  12. val elems: List[SqlSelect]
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def fetch: F[Table]

    Execute this query in F

    Execute this query in F

    Definition Classes
    SqlUnionSqlQuery
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def index(col: ColumnRef): Int

    The index of the given unaliased column in the result set

    The index of the given unaliased column in the result set

    Definition Classes
    SqlUnionSqlQuery
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def nest(parentContext: Context, fieldName: String, resultName: String, extraCols: List[ColumnRef], extraJoins: List[SqlJoin], aliasedMappings: AliasedMappings): (SqlQuery, AliasedMappings)

    Nest this query as a subobject in the enclosing parentContext

    Nest this query as a subobject in the enclosing parentContext

    Definition Classes
    SqlUnionSqlQuery
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def productElementNames: Iterator[String]
    Definition Classes
    Product
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toFragment: SqlMapping.Fragment
    Definition Classes
    SqlUnionSqlQuery
  25. def toSelect(aliasedMappings: AliasedMappings): (SqlSelect, AliasedMappings)

    Wrap this UNION in a SELECT with explicitly aliased columns so that it can be used as a subobject query

  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. def withContext(context: Context): SqlUnion

    This query in the given context

    This query in the given context

    Definition Classes
    SqlUnionSqlQuery

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 Product

Inherited from Equals

Inherited from SqlQuery

Inherited from AnyRef

Inherited from Any

Ungrouped