c

slick.compiler

CreateAggregates

class CreateAggregates extends Phase

Rewrite aggregation function calls to Aggregate nodes.

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

Instance Constructors

  1. new CreateAggregates()

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
    CreateAggregatesPhase → Function1
  3. def compose[A](g: (A) => CompilerState): (A) => CompilerState
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  4. def inlineMap(a: Aggregate): Aggregate

    Recursively inline mapping Bind calls under an Aggregate

  5. def liftAggregates(n: Node, outer: TermSymbol): (Node, Map[TermSymbol, Aggregate])

    Find all scalar Aggregate calls in a sub-tree that do not refer to the given Symbol, and replace them by temporary Refs.

  6. val name: String

    The unique name of the phase

    The unique name of the phase

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