sealed trait SqlQuery extends ColumnOwner

Representation of a SQL query in a context

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

Abstract Value Members

  1. abstract 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

  2. abstract def canEqual(that: Any): Boolean
    Definition Classes
    Equals
  3. abstract def codecs: List[(Boolean, SqlMappingLike.Codec)]

    The codecs corresponding to the columns of this query

  4. abstract def cols: List[SqlColumn]

    The columns of this query

  5. abstract def contains(other: ColumnOwner): Boolean
    Definition Classes
    ColumnOwner
  6. abstract def context: Context

    The context for this query

    The context for this query

    Definition Classes
    SqlQueryColumnOwner
  7. abstract def directlyOwns(col: SqlColumn): Boolean
    Definition Classes
    ColumnOwner
  8. abstract def findNamedOwner(col: SqlColumn): Option[TableExpr]
    Definition Classes
    ColumnOwner
  9. abstract def isUnion: Boolean

    Is this query an SQL Union

  10. abstract def nest(parentContext: Context, extraCols: List[SqlColumn], oneToOne: Boolean, lateral: Boolean): Result[SqlQuery]

    Nest this query as a subobject in the enclosing parentContext

  11. abstract def oneToOne: Boolean

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

  12. abstract def owns(col: SqlColumn): Boolean
    Definition Classes
    ColumnOwner
  13. abstract def productArity: Int
    Definition Classes
    Product
  14. abstract def productElement(n: Int): Any
    Definition Classes
    Product
  15. abstract def subst(from: TableExpr, to: TableExpr): SqlQuery

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

  16. abstract def toFragment: Aliased[SqlMappingLike.Fragment]

    Render this query as a Fragment

  17. abstract def toSubquery(name: String, lateral: Boolean): SqlSelect

    Yields an equivalent query encapsulating this query as a subquery

  18. abstract def toWithQuery(name: String, refName: Option[String]): SqlSelect

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

  19. abstract def withContext(context: Context, extraCols: List[SqlColumn], extraJoins: List[SqlJoin]): SqlQuery

    This query in the given context

Concrete 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 asSelects: List[SqlSelect]

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

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def debugShow: String
    Definition Classes
    ColumnOwner
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def isSameOwner(other: ColumnOwner): Boolean
    Definition Classes
    ColumnOwner
  15. def nameOption: Option[String]

    The name, if any, of this ColumnOwner

    The name, if any, of this ColumnOwner

    Definition Classes
    ColumnOwner
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def productElementName(n: Int): String
    Definition Classes
    Product
  20. def productElementNames: Iterator[String]
    Definition Classes
    Product
  21. def productIterator: Iterator[Any]
    Definition Classes
    Product
  22. def productPrefix: String
    Definition Classes
    Product
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  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()

Inherited from ColumnOwner

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped