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

  3. trait BinaryNode extends SimpleNode

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

  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

  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

  12. abstract class FilteredQuery extends Node with DefNode

  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

  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

  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

  19. trait LiteralNode extends NullaryNode

  20. trait Node extends NodeGenerator

    A node in the query AST

  21. trait NodeGenerator extends AnyRef

  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

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

  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

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

  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

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

  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

  43. abstract class TableNode extends Node

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

  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

  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

  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 FilteredQuery

  6. object JoinType

  7. object Library

    The standard library for query operators.

  8. object LiteralNode

  9. object Node

  10. object Ordering extends Serializable

  11. object Path

    A constructor/extractor for nested Selects starting at a Ref

  12. object ProductNode

  13. object Scope extends Serializable

  14. object SymbolNamer

  15. object TableNode

  16. object Typed

  17. object Util

    Utility methods for AST manipulation.

  18. object WithOp

No Group