scala.slick

ast

package ast

Visibility
  1. Public
  2. All

Type Members

  1. final case class Apply(sym: Symbol, children: Seq[Node])(tpe: Type) extends RefNode with TypedNode with Product with Serializable

    A function call expression.

  2. trait BinaryNode extends Node

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

    A .

  4. final case class CompiledStatement(statement: String, extra: Any, tpe: Type) extends NullaryNode with TypedNode with Product with Serializable

    A compiled statement with a fixed type, a statement string and driver-specific extra data.

  5. final case class ConditionalExpr(clauses: IndexedSeq[Node], elseClause: Node) extends SimplyTypedNode with Product with Serializable

    A conditional expression; all clauses should be IfThen nodes

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

    A .

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

    A .

  8. abstract class FilteredQuery extends DefNode

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

  9. final case class GetOrElse(child: Node, default: () ⇒ Any) extends UnaryNode with SimplyTypedNode with Product with Serializable

  10. final case class GroupBy(fromGen: Symbol, from: Node, by: Node) extends BinaryNode with DefNode with Product with Serializable

    A .

  11. final case class IfThen(left: Node, right: Node) extends BinaryNode with SimplyTypedNode with Product with Serializable

    An if-then part of a Conditional node

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

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

  13. trait LiteralNode extends NullaryNode with TypedNode

    A literal value expression.

  14. trait Node extends NodeGenerator

    A node in the query AST.

  15. trait NodeGenerator extends AnyRef

    An object that can produce a Node.

  16. trait NullaryNode extends Node

  17. final case class OptionApply(child: Node) extends UnaryNode with SimplyTypedNode with Product with Serializable

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

  19. trait ProductNode extends SimplyTypedNode

    An expression that represents a conjunction of expressions.

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

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

  21. final case class QueryParameter(extractor: (Any) ⇒ Any, tpe: Type) extends NullaryNode with TypedNode with Product with Serializable

    A parameter from a QueryTemplate which gets turned into a bind variable.

  22. final case class RangeFrom(start: Long = 1L) extends NullaryNode with TypedNode with Product with Serializable

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

  23. final case class Ref(sym: Symbol) extends NullaryNode with RefNode with Product with Serializable

    A reference to a Symbol

  24. final case class Select(in: Node, field: Symbol) extends UnaryNode with RefNode with SimplyTypedNode with Product with Serializable

    An expression that selects a field in another expression.

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

    A node that represents an SQL sequence.

  26. trait SimplyTypedNode extends Node

    A Node whose children can be typed independently of each other and which can be typed without access to its scope.

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

    A .

  28. final case class StructNode(elements: IndexedSeq[(Symbol, Node)]) extends ProductNode with DefNode with Product with Serializable

    An expression that represents a structure, i.

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

    A table expansion.

  30. final case class TableNode(schemaName: Option[String], tableName: String, tableIdentitySymbol: TableIdentitySymbol, expandOn: (Node) ⇒ Node, driverTable: Any) extends NullaryNode with TypedNode with Product with Serializable

    A Node representing a database table.

  31. final case class TableRefExpansion(marker: Symbol, ref: Node, columns: Node) extends BinaryNode with SimplyTypedNode 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.

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

    A .

  33. final case class TypeMapping(child: Node, toBase: (Any) ⇒ Any, toMapped: (Any) ⇒ Any) extends UnaryNode with SimplyTypedNode with Product with Serializable

    A client-side type mapping

  34. trait TypedNode extends Node with Typed

  35. trait UnaryNode extends Node

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

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

Value Members

  1. object Filter extends Serializable

  2. object FilteredQuery

  3. object FwdPath

  4. object LiteralNode

  5. object Node extends Logging

  6. object Ordering extends Serializable

  7. object Path

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

  8. object ProductNode

Ungrouped