Trait/Object

quasar

SemanticAnalysis

Related Docs: object SemanticAnalysis | package quasar

Permalink

trait SemanticAnalysis extends AnyRef

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SemanticAnalysis
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Annotations = (List[Option[Synthetic]], Provenance)

    Permalink
  2. case class BindingScope(scope: Map[String, SqlRelation[Unit]]) extends Product with Serializable

    Permalink
  3. type Failure = NonEmptyList[SemanticError]

    Permalink
  4. sealed trait Provenance extends AnyRef

    Permalink
  5. trait ProvenanceInstances extends AnyRef

    Permalink
  6. case class Scope(tableScope: TableScope, bindingScope: BindingScope) extends Product with Serializable

    Permalink
  7. sealed trait Synthetic extends AnyRef

    Permalink
  8. case class TableScope(scope: Map[String, SqlRelation[Unit]]) extends Product with Serializable

    Permalink
  9. type ValidSem[A] = Validation[NonEmptyList[SemanticError], A]

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def AllPhases[T[_[_]]](expr: T[Sql])(implicit arg0: Recursive[T], arg1: Corecursive[T]): \/[NonEmptyList[SemanticError], Cofree[Sql, Annotations]]

    Permalink
  5. object Provenance extends ProvenanceInstances

    Permalink
  6. implicit val ShowBindingScope: Show[BindingScope]

    Permalink
  7. implicit def ShowTableScope: Show[TableScope]

    Permalink
  8. object Synthetic

    Permalink
  9. def addAnnotations[T[_[_]]](implicit arg0: Corecursive[T]): ElgotAlgebraM[[β]((Scope, T[Sql]), β), [β]\/[NonEmptyList[SemanticError], β], Sql, Cofree[Sql, Annotations]]

    Permalink
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. def inferProvenanceƒ[T[_[_]]](implicit arg0: Corecursive[T]): ElgotAlgebraM[[β](Scope, β), ValidSem, Sql, Provenance]

    Permalink

    This phase infers the provenance of every expression, issuing errors if identifiers are used with unknown provenance.

    This phase infers the provenance of every expression, issuing errors if identifiers are used with unknown provenance. The phase requires TableScope and BindingScope annotations on the tree.

  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def projectSortKeysƒ[T[_[_]]](implicit arg0: Recursive[T], arg1: Corecursive[T]): (Sql[T[Sql]]) ⇒ Option[Sql[T[Sql]]]

    Permalink

    Inserts synthetic fields into the projections of each select stmt to hold the values that will be used in sorting, and annotates each new projection with Synthetic.SortKey.

    Inserts synthetic fields into the projections of each select stmt to hold the values that will be used in sorting, and annotates each new projection with Synthetic.SortKey. The compiler will generate a step to remove these fields after the sort operation.

  23. def scopeTablesƒ[T[_[_]]](implicit arg0: Recursive[T]): CoalgebraM[ValidSem, Sql, (Scope, T[Sql])]

    Permalink

    This analysis identifies all the named tables within scope at each node in the tree.

    This analysis identifies all the named tables within scope at each node in the tree. If two tables are given the same name within the same scope, then because this leads to an ambiguity, an error is produced containing details on the duplicate name.

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. val synthElgotMƒ: ElgotAlgebraM[[β](Scope, β), ValidSem, Sql, List[Option[Synthetic]]]

    Permalink
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped