c

slick.compiler

SpecializeParameters

class SpecializeParameters extends Phase

Specialize the AST for edge cases of query parameters. This is required for compiling take(0) for some databases which do not allow LIMIT 0.

Source
SpecializeParameters.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SpecializeParameters
  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 SpecializeParameters()

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
    SpecializeParametersPhase → Function1
  3. def compare(f: (Any) => Any, v: Any): (Any) => Boolean

    Create a function that calls an extractor for a value and compares the result with a fixed value.

  4. def compose[A](g: (A) => CompilerState): (A) => CompilerState
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. val name: String

    The unique name of the phase

    The unique name of the phase

    Definition Classes
    SpecializeParametersPhase
  6. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  7. def transformServerSide(n: Node): Node