Packages

class JdbcCodeGen extends CodeGen

Code generator phase for queries on JdbcProfile.

Source
JdbcMappingCompilerComponent.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JdbcCodeGen
  2. CodeGen
  3. Phase
  4. Logging
  5. Function1
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new JdbcCodeGen(f: (JdbcProfile.QueryBuilder) => Result)

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. def andThen[A](g: (CompilerState) => A): (CompilerState) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  2. def apply(node: Node, state: CompilerState): Node
    Definition Classes
    CodeGen
  3. def apply(state: CompilerState): CompilerState

    Run the phase

    Run the phase

    Definition Classes
    CodeGenPhase → Function1
  4. def compileServerSideAndMapping(serverSide: Node, mapping: Option[Node], state: CompilerState): (CompiledStatement, Option[CompiledMapping])
    Definition Classes
    JdbcCodeGenCodeGen
  5. def compose[A](g: (A) => CompilerState): (A) => CompilerState
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  6. val name: String

    The unique name of the phase

    The unique name of the phase

    Definition Classes
    CodeGenPhase
  7. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  8. def treeAndType(n: Node): (Node, Type)

    Extract the source tree and type, after possible CollectionCast operations, from a tree

    Extract the source tree and type, after possible CollectionCast operations, from a tree

    Definition Classes
    CodeGen