MySQLResolveZipJoins

slick.jdbc.MySQLProfile.MySQLResolveZipJoins

Attributes

Source:
MySQLProfile.scala
Graph
Supertypes
trait Phase
trait Logging
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited types

type State = Boolean

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.

Attributes

Inherited from:
ResolveZipJoins
Source:
ResolveZipJoins.scala

Value members

Concrete methods

override def transformZipWithIndex(s1: TermSymbol, ls: TermSymbol, from: Node, defs: ConstArray[(TermSymbol, Node)], offset: Long, p: Node): Node

Transform a zipWithIndex operation of the form Bind(s1, Join(_, _, Bind(ls, from, Pure(StructNode(defs), _)), RangeFrom(offset), JoinType.Zip, LiteralNode(true)), p) into an equivalent mapping operation using RowNum. This method can be overridden in subclasses to implement non-standard translations.

Transform a zipWithIndex operation of the form Bind(s1, Join(_, _, Bind(ls, from, Pure(StructNode(defs), _)), RangeFrom(offset), JoinType.Zip, LiteralNode(true)), p) into an equivalent mapping operation using RowNum. This method can be overridden in subclasses to implement non-standard translations.

Attributes

Definition Classes
Source:
MySQLProfile.scala

Inherited methods

def andThen[A](g: CompilerState => A): T1 => A

Attributes

Inherited from:
Function1

Run the phase

Run the phase

Attributes

Inherited from:
ResolveZipJoins
Source:
ResolveZipJoins.scala
def compose[A](g: A => CompilerState): A => R

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1
def transformZip(s1: TermSymbol, jlsym: TermSymbol, jrsym: TermSymbol, l: Bind, ldefs: ConstArray[(TermSymbol, Node)], r: Bind, rdefs: ConstArray[(TermSymbol, Node)], sel: Node): Node

Transform a zip operation of the form Bind(s1, Join(jlsym, jrsym, l @ Bind(_, _, Pure(StructNode(ldefs), _)), r @ Bind(_, _, Pure(StructNode(rdefs), _)), JoinType.Zip, LiteralNode(true)), sel) into an equivalent mapping operation using RowNum by first transforming both sides of the join into zipWithIndex and then using transformZipWithIndex on those.

Transform a zip operation of the form Bind(s1, Join(jlsym, jrsym, l @ Bind(_, _, Pure(StructNode(ldefs), _)), r @ Bind(_, _, Pure(StructNode(rdefs), _)), JoinType.Zip, LiteralNode(true)), sel) into an equivalent mapping operation using RowNum by first transforming both sides of the join into zipWithIndex and then using transformZipWithIndex on those.

Attributes

Inherited from:
ResolveZipJoins
Source:
ResolveZipJoins.scala

Inherited fields

Attributes

Inherited from:
ResolveZipJoins
Source:
ResolveZipJoins.scala

Attributes

Inherited from:
ResolveZipJoins
Source:
ResolveZipJoins.scala
val name: String

The unique name of the phase

The unique name of the phase

Attributes

Inherited from:
ResolveZipJoins
Source:
ResolveZipJoins.scala