scala.slick

ast

package ast

Visibility
  1. Public
  2. All

Type Members

  1. class AnonSymbol extends Symbol

    An anonymous symbol defined in the AST.

  2. case class Apply(sym: Symbol, children: Seq[Node]) extends SimpleNode with SimpleRefNode with Product with Serializable

    A function call expression.

  3. trait BinaryNode extends SimpleNode

  4. final case class Bind(generator: Symbol, from: Node, select: Node) extends BinaryNode with SimpleDefNode with Product with Serializable

    A .

  5. case class Comprehension(from: Seq[(Symbol, Node)] = collection.this.Seq.empty[Nothing], where: Seq[Node] = collection.this.Seq.empty[Nothing], groupBy: Option[Node] = scala.None, orderBy: Seq[(Node, Ordering)] = collection.this.Seq.empty[Nothing], select: Option[Node] = scala.None, fetch: Option[Long] = scala.None, offset: Option[Long] = scala.None) extends Node with DefNode with Product with Serializable

    A SQL comprehension

  6. trait DefNode extends Node

    A Node which introduces Symbols.

  7. final case class Drop(from: Node, num: Int, generator: Symbol = new AnonSymbol()) extends FilteredQuery with UnaryNode with SimpleDefNode with Product with Serializable

    A .

  8. class DumpContext extends AnyRef

  9. case class ElementSymbol(idx: Int) extends Symbol with Product with Serializable

    An element of a ProductNode

  10. case class FieldSymbol(name: String)(options: Seq[ColumnOption[_]], typeMapper: TypeMapper[_]) extends Symbol with Product with Serializable

    A named symbol which refers to an (aliased or unaliased) field.

  11. final case class Filter(generator: Symbol, from: Node, where: Node) extends FilteredQuery with BinaryNode with SimpleDefNode with Product with Serializable

    A .

  12. abstract class FilteredQuery extends Node with DefNode

    Common superclass for expressions of type (CollectionType(c, t), _) => CollectionType(c, t).

  13. class FunctionSymbol extends Symbol

    A Symbol that represents a library function or operator

  14. final case class GroupBy(fromGen: Symbol, byGen: Symbol, from: Node, by: Node) extends BinaryNode with SimpleDefNode with Product with Serializable

    A .

  15. case class IntrinsicSymbol(target: Node) extends Symbol with Product with Serializable

  16. final case class Join(leftGen: Symbol, rightGen: Symbol, left: Node, right: Node, jt: JoinType, on: Node) extends SimpleNode with SimpleDefNode with Product with Serializable

    A join expression of type (CollectionType(c, t), CollectionType(_, u)) => CollecionType(c, (t, u)).

  17. abstract class JoinType extends AnyRef

    The type of a join operation.

  18. final case class LetDynamic(defs: Seq[(Symbol, Node)], in: Node) extends SimpleNode with SimpleDefNode with Product with Serializable

    A dynamically scoped Let expression where the resulting expression and all definitions may refer to other definitions independent of the order in which they appear in the Let.

  19. trait LiteralNode extends NullaryNode

    A literal value expression.

  20. trait Node extends NodeGenerator

    A node in the query AST.

  21. trait NodeGenerator extends AnyRef

    An object that can produce a Node.

  22. final class NodeOps extends AnyVal

    Extra methods for Nodes.

  23. trait NullaryNode extends SimpleNode

  24. final case class OrderBy(generator: Symbol, from: Node, by: Seq[(Node, Ordering)]) extends FilteredQuery with SimpleNode with SimpleDefNode with Product with Serializable

  25. case class Ordering(direction: Direction = Ordering.Asc, nulls: NullOrdering = Ordering.NullsDefault) extends Product with Serializable

  26. trait ProductNode extends SimpleNode

    An expression that represents a conjunction of expressions.

  27. final case class Pure(value: Node) extends UnaryNode with Product with Serializable

    An expression that represents a plain value lifted into a Query.

  28. final case class RangeFrom(start: Long = 1L) extends Column[Long] with NullaryNode with Product with Serializable

    A Query of this special Node represents an infinite stream of consecutive numbers starting at the given number.

  29. case class Ref(sym: Symbol) extends NullaryNode with SimpleRefNode with Product with Serializable

    A reference to a Symbol

  30. trait RefNode extends Node

    A Node which references Symbols.

  31. final case class RowNumber(by: Seq[(Node, Ordering)] = collection.this.Seq.empty[Nothing]) extends SimpleNode with Product with Serializable

    The row_number window function

  32. case class Scope(m: Map[Symbol, (Node, Scope)]) extends Product with Serializable

    A scope for scoped traversal

  33. final case class Select(in: Node, field: Symbol) extends UnaryNode with SimpleRefNode with Product with Serializable

    An expression that selects a field in another expression.

  34. final case class SequenceNode(name: String)(increment: Long) extends NullaryNode with Product with Serializable

    A node that represents an SQL sequence.

  35. trait SimpleDefNode extends DefNode

  36. trait SimpleNode extends Node

  37. trait SimpleRefNode extends RefNode

  38. final case class SortBy(generator: Symbol, from: Node, by: Seq[(Node, Ordering)]) extends FilteredQuery with SimpleNode with SimpleDefNode with Product with Serializable

    A .

  39. case class StructNode(elements: IndexedSeq[(Symbol, Node)]) extends ProductNode with SimpleDefNode with Product with Serializable

    An expression that represents a structure, i.

  40. trait Symbol extends AnyRef

    A symbol which can be used in the AST.

  41. class SymbolNamer extends AnyRef

    Provides names for symbols

  42. final case class TableExpansion(generator: Symbol, table: Node, columns: Node) extends BinaryNode with SimpleDefNode with Product with Serializable

    A table expansion.

  43. abstract class TableNode extends Node

    Base class for table nodes.

  44. final case class TableRefExpansion(marker: Symbol, ref: Node, columns: Node) extends BinaryNode with SimpleDefNode with Product with Serializable

    Similar to a TableExpansion but used to replace a Ref pointing to a Table(Expansion) (or another TableRefExpansion) instead of a plain Table.

  45. case class TableSymbol(name: String) extends Symbol with Product with Serializable

    A named symbol which refers to a proper database table.

  46. final case class Take(from: Node, num: Int, generator: Symbol = new AnonSymbol()) extends FilteredQuery with UnaryNode with SimpleDefNode with Product with Serializable

    A .

  47. trait Type extends AnyRef

    Super-trait for all types.

  48. trait Typed extends AnyRef

    Something that has a type.

  49. trait TypedNode extends Node with Typed

  50. trait UnaryNode extends SimpleNode

  51. final case class Union(left: Node, right: Node, all: Boolean, leftGen: Symbol = new AnonSymbol(), rightGen: Symbol = new AnonSymbol()) extends BinaryNode with SimpleDefNode with Product with Serializable

    A union of type (CollectionType(c, t), CollectionType(_, t)) => CollectionType(c, t).

  52. trait WithOp extends Cloneable

Value Members

  1. object AnonSymbol

  2. object Apply extends Serializable

  3. object Dump

    Create a readable printout of an AST

  4. object ExtraUtil

    Some less general but still useful methods for the code generators.

  5. object Filter extends Serializable

  6. object FilteredQuery

  7. object JoinType

  8. object Library

    The standard library for query operators.

  9. object LiteralNode

  10. object Node

  11. object NodeOps

  12. object Ordering extends Serializable

  13. object Path

    A constructor/extractor for nested Selects starting at a Ref.

  14. object ProductNode

  15. object Scope extends Serializable

  16. object SymbolNamer

  17. object TableNode

  18. object Typed

  19. object Util

    Utility methods for AST manipulation.

  20. object WithOp

Ungrouped