class QueryCompiler extends Logging
An immutable, stateless query compiler consisting of a series of phases
- Source
- QueryCompiler.scala
- Alphabetic
- By Inheritance
- QueryCompiler
- Logging
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(p: Phase): QueryCompiler
Return a new compiler with the new phase added at the end.
- def ++(ps: Seq[Phase]): QueryCompiler
Return a new compiler with the new phases added at the end.
- def -(p: Phase): QueryCompiler
Return a new compiler without the given phase (or a different implementation of the same phase name.
- def ->[B](y: B): (QueryCompiler, B)
- Implicit
- This member is added by an implicit conversion from QueryCompiler toArrowAssoc[QueryCompiler] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAfter(p: Phase, after: Phase): QueryCompiler
Return a new compiler with the new phase added directly after another phase (or a different implementation of the same phase name).
- def addBefore(p: Phase, before: Phase): QueryCompiler
Return a new compiler with the new phase added directly before another phase (or a different implementation of the same phase name).
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- lazy val benchmarkLogger: SlickLogger
- Attributes
- protected[this]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def detectRebuiltLeafs(n1: Node, n2: Node): Set[RefId[Dumpable]]
- Attributes
- protected[this]
- def ensuring(cond: (QueryCompiler) => Boolean, msg: => Any): QueryCompiler
- Implicit
- This member is added by an implicit conversion from QueryCompiler toEnsuring[QueryCompiler] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (QueryCompiler) => Boolean): QueryCompiler
- Implicit
- This member is added by an implicit conversion from QueryCompiler toEnsuring[QueryCompiler] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): QueryCompiler
- Implicit
- This member is added by an implicit conversion from QueryCompiler toEnsuring[QueryCompiler] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): QueryCompiler
- Implicit
- This member is added by an implicit conversion from QueryCompiler toEnsuring[QueryCompiler] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val logger: SlickLogger
- Attributes
- protected[this]
- Definition Classes
- Logging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val phases: Vector[Phase]
- def replace(p: Phase): QueryCompiler
Return a new compiler that replaces an existing phase by a new one with the same name.
Return a new compiler that replaces an existing phase by a new one with the same name. The new phase must have a State that is assignable to the original phase's state.
- def run(state: CompilerState): CompilerState
Compile an AST in an existing
CompilerState
.Compile an AST in an existing
CompilerState
. This can be used for triggering compilation of subtrees within the currentCompilerState
. - def run(tree: Node): CompilerState
Compile an AST with a new
CompilerState
. - def runBefore(before: Phase, state: CompilerState): CompilerState
Compile an AST in an existing
CompilerState
, stopping just before the specified phase.Compile an AST in an existing
CompilerState
, stopping just before the specified phase. This can be used for triggering compilation of subtrees within the currentCompilerState
. - def runPhase(p: Phase, state: CompilerState): CompilerState
- Attributes
- protected[this]
- def runPhases(it: Iterator[Phase], state: CompilerState): CompilerState
- Attributes
- protected[this]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Shadowed Implicit Value Members
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from QueryCompiler toany2stringadd[QueryCompiler] performed by method any2stringadd in scala.Predef.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(queryCompiler: any2stringadd[QueryCompiler]).+(other)
- Definition Classes
- any2stringadd
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from QueryCompiler toStringFormat[QueryCompiler] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (QueryCompiler, B)
- Implicit
- This member is added by an implicit conversion from QueryCompiler toArrowAssoc[QueryCompiler] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
edit this text on github
Scala Language-Integrated Connection Kit
This is the API documentation for the Slick database library. It should be used as an additional resource to the user manual.
Further documentation for Slick can be found on the documentation pages.
To the slick package list...