scala.slick.compiler

ConvertToComprehensions

class ConvertToComprehensions extends Phase

Conversion of basic ASTs to a shape suitable for relational DBs. This phase replaces all nodes of types Bind, Filter, SortBy, Take and Drop by Comprehension nodes and merges nested Comprehension nodes.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ConvertToComprehensions
  2. Phase
  3. Logging
  4. Function2
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConvertToComprehensions()

Type Members

  1. abstract type State

    The immutable state of the phase that can also be accessed by other phases.

    The immutable state of the phase that can also be accessed by other phases.

    Definition Classes
    Phase

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object TakeDrop

    An extractor for nested Take and Drop nodes

  7. def apply(n: Node, state: CompilationState): Node

    Run the phase

    Run the phase

    Definition Classes
    ConvertToComprehensionsPhase → Function2
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. val convert: Transformer { def mkFrom(s: scala.slick.ast.Symbol,n: scala.slick.ast.Node): Seq[(scala.slick.ast.Symbol, scala.slick.ast.Node)] }

  11. def convertSimpleGrouping(gen: ast.Symbol, fromGen: ast.Symbol, from: Node, by: Node, sel: Node): Node

    Convert a GroupBy followed by an aggregating map operation to a Comprehension

  12. def curried: (Node) ⇒ (CompilationState) ⇒ Node

    Definition Classes
    Function2
    Annotations
    @unspecialized()
  13. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. lazy val logger: SlickLogger

    Attributes
    protected[this]
    Definition Classes
    Logging
  20. val name: String

    The unique name of the phase

    The unique name of the phase

    Definition Classes
    ConvertToComprehensionsPhase
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    Function2 → AnyRef → Any
  26. def tupled: ((Node, CompilationState)) ⇒ Node

    Definition Classes
    Function2
    Annotations
    @unspecialized()
  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Phase

Inherited from Logging

Inherited from (Node, CompilationState) ⇒ Node

Inherited from AnyRef

Inherited from Any

Ungrouped