SqlQuery

edu.gemini.grackle.sql.SqlMappingLike.SqlQuery
See theSqlQuery companion object
sealed trait SqlQuery extends ColumnOwner

Representation of a SQL query in a context

Attributes

Companion:
object
Source:
SqlMapping.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
class SqlSelect
class SqlUnion

Members list

Concise view

Value members

Abstract methods

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)]]): Option[SqlQuery]

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

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

Attributes

Source:
SqlMapping.scala

The codecs corresponding to the columns of this query

The codecs corresponding to the columns of this query

Attributes

Source:
SqlMapping.scala

The columns of this query

The columns of this query

Attributes

Source:
SqlMapping.scala

The context for this query

The context for this query

Attributes

Source:
SqlMapping.scala

Is this query an SQL Union

Is this query an SQL Union

Attributes

Source:
SqlMapping.scala
def nest(parentContext: Context, extraCols: List[SqlColumn], oneToOne: Boolean, lateral: Boolean): SqlQuery

Nest this query as a subobject in the enclosing parentContext

Nest this query as a subobject in the enclosing parentContext

Attributes

Source:
SqlMapping.scala

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

Attributes

Source:
SqlMapping.scala

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

Attributes

Source:
SqlMapping.scala

Render this query as a Fragment

Render this query as a Fragment

Attributes

Source:
SqlMapping.scala
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

Attributes

Source:
SqlMapping.scala
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

Attributes

Source:
SqlMapping.scala
def withContext(context: Context, extraCols: List[SqlColumn], extraJoins: List[SqlJoin]): SqlQuery

This query in the given context

This query in the given context

Attributes

Source:
SqlMapping.scala

Concrete methods

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

Attributes

Source:
SqlMapping.scala

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals

Attributes

Inherited from:
ColumnOwner
Source:
SqlMapping.scala

Attributes

Inherited from:
ColumnOwner
Source:
SqlMapping.scala

Attributes

Inherited from:
ColumnOwner
Source:
SqlMapping.scala

Attributes

Inherited from:
ColumnOwner
Source:
SqlMapping.scala

Attributes

Inherited from:
ColumnOwner
Source:
SqlMapping.scala

The name, if any, of this ColumnOwner

The name, if any, of this ColumnOwner

Attributes

Inherited from:
ColumnOwner
Source:
SqlMapping.scala

Attributes

Inherited from:
ColumnOwner
Source:
SqlMapping.scala

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product