scala.slick

compiler

package compiler

Slick AST to database query compiler

Source
package.scala
Linear Supertypes
AnyRef, Any
Content Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. compiler
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class AssignTypes extends Phase

    Compute type information for all nodes in the AST

  2. class AssignUniqueSymbols extends Phase

    Ensure that all symbol definitions in a tree are unique

  3. abstract class CodeGen extends Phase

    The code generator phase.

  4. class CompilerState extends AnyRef

    The current state of a compiler run, consisting of immutable state of individual phases.

  5. class ConvertToComprehensions extends Phase

    Conversion of basic ASTs to a shape suitable for relational DBs.

  6. 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.

  7. class ExpandRecords extends Phase

    Expand paths of record types to reference all fields individually and recreate the record structure at the call site.

  8. class ExpandTables extends Phase

    Expand table-valued expressions in the result type to their star projection.

  9. class FixRowNumberOrdering extends Phase

    Inject the proper orderings into the RowNumber nodes produced earlier by the resolveFixJoins phase.

  10. class FlattenProjections extends Phase

    Flatten all Pure node contents into a single StructNode.

  11. class ForceOuterBinds extends Phase

    Ensure that all collection operations are wrapped in a Bind so that we have a place for expanding references later.

  12. class FuseComprehensions extends Phase

    Fuse sub-comprehensions into their parents.

  13. class HoistClientOps extends Phase

    Lift operations that are preferred to be performed on the client side out of sub-queries.

  14. class InferTypes extends Phase

    Infer types and compute missing structural views for all nominal table types.

  15. class Inline extends Phase

    Inline references to IntrinsicSymbols.

  16. trait InsertCompiler extends Phase

    A custom compiler for INSERT statements.

  17. trait Phase extends (CompilerState) ⇒ CompilerState with Logging

    A phase of the query compiler, identified by a unique name

  18. class PruneFields extends Phase

    Remove unreferenced fields from StructNodes and convert unreferenced StructNodes to single columns or ProductNodes (which is needed for aggregation functions and at the top level).

  19. class QueryCompiler extends Logging

    An immutable, stateless query compiler consisting of a series of phases

  20. class RelabelUnions extends Phase

    Assign the AnonSymbols of fields from the left side of a Union to the right side.

  21. class ResolveZipJoins extends Phase

    Rewrite zip joins into a form suitable for SQL (using inner joins and RowNumber columns.

  22. class ResolveZipJoinsState extends AnyRef

  23. class RewriteBooleans extends Phase

    For SQL back-ends which do not support real boolean types for fields and general expressions but which do have special boolean expressions and operators, this phase injects conversions between fake and real boolean values.

Value Members

  1. object CodeGen

  2. object Phase

  3. object QueryCompiler

  4. object RewriteBooleans

  5. object UnionLeft

Inherited from AnyRef

Inherited from Any

Ungrouped