c

slick.compiler

CreateResultSetMapping

class CreateResultSetMapping extends Phase

Create a ResultSetMapping root node, ensure that the top-level server-side node returns a collection, and hoist client-side type conversions into the ResultSetMapping. The original result type (which was removed by removeMappedTypes) is assigned back to the top level.

Source
CreateResultSetMapping.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CreateResultSetMapping
  2. Phase
  3. Logging
  4. Function1
  5. AnyRef
  6. 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 CreateResultSetMapping()

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(state: CompilerState): CompilerState

    Run the phase

    Run the phase

    Definition Classes
    CreateResultSetMappingPhase → Function1
  3. def collectionCast(ch: Node, cons: CollectionTypeConstructor): Node
  4. def compose[A](g: (A) => CompilerState): (A) => CompilerState
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. def createResult(ref: Ref, tpe: Type, syms: ConstArray[TermSymbol]): Node

    Create a structured return value for the client side, based on the result type (which may contain MappedTypes).

  6. val name: String

    The unique name of the phase

    The unique name of the phase

    Definition Classes
    CreateResultSetMappingPhase
  7. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any