slick.ast

package slick.ast

Abstract Syntax Tree (AST) for representing queries during compilation

Attributes

Members list

Concise view

Type members

Classlikes

final case class Aggregate(sym: TermSymbol, from: Node, select: Node) extends BinaryNode with DefNode

An aggregation function application which is similar to a Bind(_, , Pure()) where the projection contains a mapping function application. The return type is an aggregated scalar value though, not a collection.

An aggregation function application which is similar to a Bind(_, , Pure()) where the projection contains a mapping function application. The return type is an aggregated scalar value though, not a collection.

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DefNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any
class AnonSymbol extends TermSymbol

An anonymous symbol defined in the AST.

An anonymous symbol defined in the AST.

Attributes

Source:
Symbol.scala
Graph
Supertypes
trait Symbol
class Object
trait Matchable
class Any

An anonymous TableIdentitySymbol.

An anonymous TableIdentitySymbol.

Attributes

Source:
Symbol.scala
Graph
Supertypes
trait Symbol
class Object
trait Matchable
class Any

An anonymous symbol defined in the AST.

An anonymous symbol defined in the AST.

Attributes

Source:
Symbol.scala
Graph
Supertypes
trait Symbol
class Object
trait Matchable
class Any
Known subtypes
final case class Apply(sym: TermSymbol, children: ConstArray[Node])(buildType: Type) extends SimplyTypedNode

A function call expression.

A function call expression.

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Node
trait Dumpable
class Object
trait Matchable
class Any
trait AtomicType extends Type

An atomic type (i.e. a type which does not contain other types)

An atomic type (i.e. a type which does not contain other types)

Attributes

Source:
Type.scala
Graph
Supertypes
trait Type
trait Dumpable
class Object
trait Matchable
class Any
Known subtypes
trait BaseTypedType[T]
class ScalaBaseType[T]
trait JdbcType[T]
class MappedJdbcType[T, U]
class MappedColumnType[T, U]
object UnassignedType.type
trait BaseTypedType[T] extends TypedType[T] with AtomicType

Attributes

Source:
Type.scala
Graph
Supertypes
trait TypedType[T]
trait Type
trait Dumpable
class Object
trait Matchable
class Any
Known subtypes
class ScalaBaseType[T]
trait JdbcType[T]
class MappedJdbcType[T, U]
class MappedColumnType[T, U]
trait BinaryNode extends Node

Attributes

Source:
Node.scala
Graph
Supertypes
trait Node
trait Dumpable
class Object
trait Matchable
class Any
Known subtypes
class Aggregate
class Bind
class Distinct
class Drop
class Filter
class GroupBy
class Insert
class Take
class Union
final case class Bind(generator: TermSymbol, from: Node, select: Node) extends BinaryNode with DefNode

A .flatMap call of type (CollectionType(c, ), CollectionType(, u)) => CollectionType(c, u).

A .flatMap call of type (CollectionType(c, ), CollectionType(, u)) => CollectionType(c, u).

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DefNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any

An operation which is expected to be run on the client side.

An operation which is expected to be run on the client side.

Attributes

Companion:
object
Source:
ClientSideOp.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type

Attributes

Companion:
trait
Source:
ClientSideOp.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
final case class CollectionCast(child: Node, cons: CollectionTypeConstructor) extends UnaryNode with SimplyTypedNode

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait UnaryNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any
final case class CollectionType(cons: CollectionTypeConstructor, elementType: Type) extends Type

Attributes

Source:
Type.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Type
trait Dumpable
class Object
trait Matchable
class Any

Represents a type constructor that can be usd for a collection-valued query. The relevant information for Slick is whether the elements of the collection keep their insertion order (isSequential) and whether only distinct elements are allowed (isUnique).

Represents a type constructor that can be usd for a collection-valued query. The relevant information for Slick is whether the elements of the collection keep their insertion order (isSequential) and whether only distinct elements are allowed (isUnique).

Attributes

Source:
Type.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
abstract class ColumnOption[+T]

Attributes

Companion:
object
Source:
ColumnOption.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AutoInc.type
object PrimaryKey.type
object Unique.type
class Default[T]
class Length
object NotNull.type
object Nullable.type
class SqlType

The basic column options that influence profile-independent parts of query compilation. Different profile levels define additional options.

The basic column options that influence profile-independent parts of query compilation. Different profile levels define additional options.

Attributes

Companion:
class
Source:
ColumnOption.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
final case class CompiledStatement(statement: String, extra: Any, buildType: Type) extends NullaryNode with SimplyTypedNode

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

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

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Node
trait Dumpable
class Object
trait Matchable
class Any
abstract class ComplexFilteredQuery extends FilteredQuery with DefNode

A FilteredQuery with a Symbol.

A FilteredQuery with a Symbol.

Attributes

Source:
Node.scala
Graph
Supertypes
trait DefNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any
Known subtypes
class Distinct
class Filter
class ForUpdate
class SortBy
final case class Comprehension[+Fetch <: Option[Node]](sym: TermSymbol, from: Node, select: Node, where: Option[Node], groupBy: Option[Node], orderBy: ConstArray[(Node, Ordering)], having: Option[Node], distinct: Option[Node], fetch: Fetch, offset: Option[Node], forUpdate: Boolean) extends DefNode

A SQL comprehension

A SQL comprehension

Attributes

Companion:
object
Source:
Comprehension.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DefNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
Comprehension.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
trait DefNode extends Node

A Node which introduces Symbols.

A Node which introduces Symbols.

Attributes

Source:
Symbol.scala
Graph
Supertypes
trait Node
trait Dumpable
class Object
trait Matchable
class Any
Known subtypes
class Aggregate
class Bind
class Distinct
class Filter
class ForUpdate
class SortBy
class Comprehension[Fetch]
class GroupBy
class Insert
class Join
final case class Distinct(generator: TermSymbol, from: Node, on: Node) extends ComplexFilteredQuery with BinaryNode

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

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

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DefNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any
final case class Drop(from: Node, count: Node) extends SimpleFilteredQuery with BinaryNode

A .drop call.

A .drop call.

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Node
trait Dumpable
class Object
trait Matchable
class Any
case class ElementSymbol(idx: Int) extends TermSymbol

An element of a ProductNode (using a 1-based index)

An element of a ProductNode (using a 1-based index)

Attributes

Source:
Symbol.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Symbol
class Object
trait Matchable
class Any
class ErasedCollectionTypeConstructor[C[_]](factory: Factory[Any, C[Any]], classTag: ClassTag[C[Any]]) extends TypedCollectionTypeConstructor[C]

Attributes

Source:
Type.scala
Graph
Supertypes
class Object
trait Matchable
class Any
class ErasedScalaBaseType[T, E](implicit val erasure: ScalaBaseType[E], val ct: ClassTag[T]) extends ScalaBaseType[T]

Attributes

Source:
Type.scala
Graph
Supertypes
class ScalaBaseType[T]
trait BaseTypedType[T]
trait ScalaType[T]
trait TypedType[T]
trait Type
trait Dumpable
class Object
trait Matchable
class Any
case class FieldSymbol(name: String)(options: Seq[ColumnOption[_]], tpe: Type) extends TermSymbol

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

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

Attributes

Source:
Symbol.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Symbol
class Object
trait Matchable
class Any
final case class Filter(generator: TermSymbol, from: Node, where: Node) extends ComplexFilteredQuery with BinaryNode

A .filter call of type (CollectionType(c, t), Boolean) => CollectionType(c, t).

A .filter call of type (CollectionType(c, t), Boolean) => CollectionType(c, t).

Attributes

Companion:
object
Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DefNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any
object Filter

Attributes

Companion:
class
Source:
Node.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Filter.type
abstract class FilteredQuery extends Node

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

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

Attributes

Source:
Node.scala
Graph
Supertypes
trait Node
trait Dumpable
class Object
trait Matchable
class Any
Known subtypes
final case class First(child: Node) extends UnaryNode with SimplyTypedNode with ClientSideOp

Get the first element of a collection. For client-side operations only.

Get the first element of a collection. For client-side operations only.

Attributes

Source:
ClientSideOp.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait UnaryNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any
final case class ForUpdate(generator: TermSymbol, from: Node) extends ComplexFilteredQuery

A .forUpdate call

A .forUpdate call

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DefNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any
class FunctionSymbol(val name: String) extends TermSymbol

A Symbol that represents a library function or operator

A Symbol that represents a library function or operator

Attributes

Source:
Library.scala
Graph
Supertypes
trait Symbol
class Object
trait Matchable
class Any
Known subtypes
object FwdPath

A constructor/extractor for nested Selects starting at a Ref so that, for example, a :: b :: c :: Nil corresponds to path a.b.c.

A constructor/extractor for nested Selects starting at a Ref so that, for example, a :: b :: c :: Nil corresponds to path a.b.c.

Attributes

Source:
Node.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
FwdPath.type
final case class GetOrElse(child: Node, default: () => Any) extends UnaryNode with SimplyTypedNode

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait UnaryNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any
final case class GroupBy(fromGen: TermSymbol, from: Node, by: Node, identity: TypeSymbol) extends BinaryNode with DefNode with TypeGenerator

A .groupBy call.

A .groupBy call.

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DefNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any
final case class IfThenElse(clauses: ConstArray[Node]) extends SimplyTypedNode

A conditional expression; The clauses should be: (if then)+ else. The result type is taken from the first then (i.e. the second clause).

A conditional expression; The clauses should be: (if then)+ else. The result type is taken from the first then (i.e. the second clause).

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Node
trait Dumpable
class Object
trait Matchable
class Any
final case class Insert(tableSym: TermSymbol, table: Node, linear: Node, allFields: ConstArray[FieldSymbol]) extends BinaryNode with DefNode

Represents an Insert operation.

Represents an Insert operation.

Attributes

Source:
Insert.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DefNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any
final case class InsertColumn(children: ConstArray[Node], fs: FieldSymbol, buildType: Type) extends Node with SimplyTypedNode

A column in an Insert operation.

A column in an Insert operation.

Attributes

Source:
Insert.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Node
trait Dumpable
class Object
trait Matchable
class Any
final case class Join(leftGen: TermSymbol, rightGen: TermSymbol, left: Node, right: Node, jt: JoinType, on: Node) extends DefNode

A join expression. For joins without option extension, the type rule is (CollectionType(c, t), CollectionType(, u)) => CollectionType(c, (t, u)). Option-extended left outer joins are typed as (CollectionType(c, t), CollectionType(, u)) => CollectionType(c, (t, Option(u))), Option-extended right outer joins as (CollectionType(c, t), CollectionType(, u)) => CollectionType(c, (Option(t), u)) and Option-extended full outer joins as (CollectionType(c, t), CollectionType(, u)) => CollectionType(c, (Option(t), Option(u))).

A join expression. For joins without option extension, the type rule is (CollectionType(c, t), CollectionType(, u)) => CollectionType(c, (t, u)). Option-extended left outer joins are typed as (CollectionType(c, t), CollectionType(, u)) => CollectionType(c, (t, Option(u))), Option-extended right outer joins as (CollectionType(c, t), CollectionType(, u)) => CollectionType(c, (Option(t), u)) and Option-extended full outer joins as (CollectionType(c, t), CollectionType(, u)) => CollectionType(c, (Option(t), Option(u))).

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DefNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any
abstract class JoinType(val sqlName: String)

The type of a join operation.

The type of a join operation.

Attributes

Companion:
object
Source:
JoinType.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Inner.type
object Left.type
object LeftOption.type
object Outer.type
object OuterOption.type
object Right.type
object RightOption.type
object Zip.type
object JoinType

Attributes

Companion:
class
Source:
JoinType.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object Library

The standard library for query operators.

The standard library for query operators.

Attributes

Source:
Library.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Library.type
class LiteralNode(val buildType: Type, val value: Any, val volatileHint: Boolean) extends NullaryNode with SimplyTypedNode

A literal value expression.

A literal value expression.

Attributes

volatileHint

Indicates whether this value should be considered volatile, i.e. it contains user-generated data or may change in future executions of what is otherwise the same query. A database back-end should usually turn volatile constants into bind variables.

Companion:
object
Source:
Node.scala
Graph
Supertypes
trait Node
trait Dumpable
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
Node.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
final class MappedScalaType(val baseType: Type, val mapper: Mapper, val classTag: ClassTag[_]) extends Type

Attributes

Companion:
object
Source:
Type.scala
Graph
Supertypes
trait Type
trait Dumpable
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
Type.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait Node extends Dumpable

A node in the Slick AST. Every Node has a number of child nodes and an optional type annotation.

A node in the Slick AST. Every Node has a number of child nodes and an optional type annotation.

Attributes

Source:
Node.scala
Graph
Supertypes
trait Dumpable
class Object
trait Matchable
class Any
Known subtypes
final class NodeOps(val tree: Node) extends AnyVal

Extra methods for Nodes.

Extra methods for Nodes.

Attributes

Source:
Util.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any
final case class NominalType(sym: TypeSymbol, structuralView: Type) extends Type

A type with a name, as used by tables.

A type with a name, as used by tables.

Compiler phases which change types may keep their own representation of the structural view but must update the AST at the end of the phase so that all NominalTypes with the same symbol have the same structural view.

Attributes

Source:
Type.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Type
trait Dumpable
class Object
trait Matchable
class Any
trait NullaryNode extends Node

Attributes

Source:
Node.scala
Graph
Supertypes
trait Node
trait Dumpable
class Object
trait Matchable
class Any
Known subtypes

Mark a TypedType as eligible for numeric operators.

Mark a TypedType as eligible for numeric operators.

Attributes

Source:
Type.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
final case class OptionApply(child: Node) extends UnaryNode with SimplyTypedNode

Lift a value into an Option as Some (or None if the value is a null column).

Lift a value into an Option as Some (or None if the value is a null column).

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait UnaryNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any
sealed trait OptionDisc

A phantom type for Option discriminator columns. Values are of type Int.

A phantom type for Option discriminator columns. Values are of type Int.

Attributes

Source:
Type.scala
Graph
Supertypes
class Object
trait Matchable
class Any
final case class OptionFold(from: Node, ifEmpty: Node, map: Node, gen: TermSymbol) extends DefNode

The catamorphism of OptionType.

The catamorphism of OptionType.

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DefNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any
trait OptionType extends Type

Attributes

Companion:
object
Source:
Type.scala
Graph
Supertypes
trait Type
trait Dumpable
class Object
trait Matchable
class Any
Known subtypes
object OptionType

Attributes

Companion:
trait
Source:
Type.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait OptionTypedType[T] extends TypedType[Option[T]] with OptionType

Attributes

Source:
Type.scala
Graph
Supertypes
trait TypedType[Option[T]]
trait Type
trait Dumpable
class Object
trait Matchable
class Any
Known subtypes
final case class Ordering(direction: Direction, nulls: NullOrdering)

Attributes

Companion:
object
Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object Ordering

Attributes

Companion:
class
Source:
Node.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class ParameterSwitch(cases: ConstArray[(Any => Boolean, Node)], default: Node) extends SimplyTypedNode with ClientSideOp

A switch for special-cased parameters that needs to be interpreted in order to find the correct query string for the query arguments.

A switch for special-cased parameters that needs to be interpreted in order to find the correct query string for the query arguments.

Attributes

Source:
ClientSideOp.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Node
trait Dumpable
class Object
trait Matchable
class Any
object Path

A constructor/extractor for nested Selects starting at a Ref so that, for example, c :: b :: a :: Nil corresponds to path a.b.c.

A constructor/extractor for nested Selects starting at a Ref so that, for example, c :: b :: a :: Nil corresponds to path a.b.c.

Attributes

Source:
Node.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Path.type
trait PathElement extends Node

Attributes

Source:
Node.scala
Graph
Supertypes
trait Node
trait Dumpable
class Object
trait Matchable
class Any
Known subtypes
class Ref
class Select
final case class ProductNode(children: ConstArray[Node]) extends SimplyTypedNode

An expression that represents a conjunction of expressions.

An expression that represents a conjunction of expressions.

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Node
trait Dumpable
class Object
trait Matchable
class Any
final case class ProductType(elements: ConstArray[Type]) extends Type

Attributes

Source:
Type.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Type
trait Dumpable
class Object
trait Matchable
class Any
final case class Pure(value: Node, identity: TypeSymbol) extends UnaryNode with SimplyTypedNode with TypeGenerator

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

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

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait UnaryNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any
final case class QueryParameter(extractor: Any => Any, buildType: Type, id: TermSymbol) extends NullaryNode with SimplyTypedNode

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

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

Attributes

Companion:
object
Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Node
trait Dumpable
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
Node.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class RangeFrom(start: Long) extends NullaryNode with SimplyTypedNode

A Query of this special Node represents an infinite stream of consecutive numbers starting at the given number. This is used as an operand for zipWithIndex. It is not exposed directly in the query language because it cannot be represented in SQL outside of a 'zip' operation.

A Query of this special Node represents an infinite stream of consecutive numbers starting at the given number. This is used as an operand for zipWithIndex. It is not exposed directly in the query language because it cannot be represented in SQL outside of a 'zip' operation.

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Node
trait Dumpable
class Object
trait Matchable
class Any
final case class RebuildOption(discriminator: Node, data: Node) extends BinaryNode with SimplyTypedNode

Rebuild an Option type on the client side

Rebuild an Option type on the client side

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Node
trait Dumpable
class Object
trait Matchable
class Any
final case class Ref(sym: TermSymbol) extends PathElement with NullaryNode

A reference to a Symbol

A reference to a Symbol

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Node
trait Dumpable
class Object
trait Matchable
class Any
final case class ResultSetMapping(generator: TermSymbol, from: Node, map: Node) extends BinaryNode with DefNode with ClientSideOp

A client-side projection of type (CollectionType(c, t), u) => CollectionType(c, u). Unlike other nodes which only operate on real collections, a ResultSetMapping may use an Identity functor as its collection type constructor c, thus giving it a type of (t, u) => u where t and u are primitive or Option types.

A client-side projection of type (CollectionType(c, t), u) => CollectionType(c, u). Unlike other nodes which only operate on real collections, a ResultSetMapping may use an Identity functor as its collection type constructor c, thus giving it a type of (t, u) => u where t and u are primitive or Option types.

Attributes

Source:
ClientSideOp.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DefNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any
final case class RowNumber(by: ConstArray[(Node, Ordering)]) extends SimplyTypedNode

The row_number window function

The row_number window function

Attributes

Source:
Comprehension.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Node
trait Dumpable
class Object
trait Matchable
class Any
class ScalaBaseType[T](implicit val classTag: ClassTag[T], val ordering: Ordering[T]) extends ScalaType[T] with BaseTypedType[T]

Attributes

Companion:
object
Source:
Type.scala
Graph
Supertypes
trait BaseTypedType[T]
trait ScalaType[T]
trait TypedType[T]
trait Type
trait Dumpable
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion:
class
Source:
Type.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class ScalaNumericType[T](val fromDouble: Double => T)(implicit tag: ClassTag[T], val numeric: Numeric[T]) extends ScalaBaseType[T] with NumericTypedType

Attributes

Source:
Type.scala
Graph
Supertypes
class ScalaBaseType[T]
trait BaseTypedType[T]
trait ScalaType[T]
trait TypedType[T]
trait Type
trait Dumpable
class Object
trait Matchable
class Any
class ScalaOptionType[T](val elementType: ScalaType[T]) extends ScalaType[Option[T]] with OptionTypedType[T]

Attributes

Source:
Type.scala
Graph
Supertypes
trait ScalaType[Option[T]]
trait TypedType[Option[T]]
trait Type
trait Dumpable
class Object
trait Matchable
class Any
trait ScalaType[T] extends TypedType[T]

A Slick Type encoding of plain Scala types.

A Slick Type encoding of plain Scala types.

This is used by QueryInterpreter and MemoryProfile. Values stored in HeapBackend columns are also expected to use these types.

All profiles should support the following types which are used internally by the lifted embedding and the query compiler: Boolean, Char, Int, Long, Null, String.

Attributes

Source:
Type.scala
Graph
Supertypes
trait TypedType[T]
trait Type
trait Dumpable
class Object
trait Matchable
class Any
Known subtypes
final case class Select(in: Node, field: TermSymbol) extends PathElement with UnaryNode with SimplyTypedNode

An expression that selects a field in another expression.

An expression that selects a field in another expression.

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait UnaryNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any
final case class SequenceNode(name: String)(increment: Long) extends NullaryNode with SimplyTypedNode

A node that represents an SQL sequence.

A node that represents an SQL sequence.

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Node
trait Dumpable
class Object
trait Matchable
class Any

A FilteredQuery without a Symbol.

A FilteredQuery without a Symbol.

Attributes

Source:
Node.scala
Graph
Supertypes
trait Node
trait Dumpable
class Object
trait Matchable
class Any
Known subtypes
class Drop
class Take
case class SimpleTableIdentitySymbol(constituents: AnyRef*) extends TableIdentitySymbol

Default implementation of TableIdentitySymbol

Default implementation of TableIdentitySymbol

Attributes

Source:
Symbol.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Symbol
class Object
trait Matchable
class Any
trait SimplyTypedNode extends Node

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

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

Attributes

Source:
Node.scala
Graph
Supertypes
trait Node
trait Dumpable
class Object
trait Matchable
class Any
Known subtypes
final case class SortBy(generator: TermSymbol, from: Node, by: ConstArray[(Node, Ordering)]) extends ComplexFilteredQuery

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

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

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DefNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any
final case class StructNode(elements: ConstArray[(TermSymbol, Node)]) extends SimplyTypedNode with DefNode

An expression that represents a structure, i.e. a conjunction where the individual components have Symbols associated with them.

An expression that represents a structure, i.e. a conjunction where the individual components have Symbols associated with them.

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DefNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any
final case class StructType(elements: ConstArray[(TermSymbol, Type)]) extends Type

Attributes

Source:
Type.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Type
trait Dumpable
class Object
trait Matchable
class Any
final case class Subquery(child: Node, condition: Condition) extends UnaryNode with SimplyTypedNode

Forces a subquery to be created in mergeToComprehension if it occurs between two other collection-valued operations that would otherwise be fused, and the subquery condition is true.

Forces a subquery to be created in mergeToComprehension if it occurs between two other collection-valued operations that would otherwise be fused, and the subquery condition is true.

Attributes

Companion:
object
Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait UnaryNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any
object Subquery

Attributes

Companion:
class
Source:
Node.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait Symbol

A symbol which can be used in the AST. It can be either a TypeSymbol or a TermSymbol.

A symbol which can be used in the AST. It can be either a TypeSymbol or a TermSymbol.

Attributes

Source:
Symbol.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class SymbolNamer(treeSymbolPrefix: String, typeSymbolPrefix: String, parent: Option[SymbolNamer])

Provides names for symbols

Provides names for symbols

Attributes

Companion:
object
Source:
Symbol.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion:
class
Source:
Symbol.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
final case class TableExpansion(generator: TermSymbol, table: Node, columns: Node) extends BinaryNode with DefNode

A table together with its expansion into columns.

A table together with its expansion into columns.

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DefNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any

A TypeSymbol which uniquely identifies a table type

A TypeSymbol which uniquely identifies a table type

Attributes

Source:
Symbol.scala
Graph
Supertypes
trait Symbol
class Object
trait Matchable
class Any
Known subtypes
final case class TableNode(schemaName: Option[String], tableName: String, identity: TableIdentitySymbol, baseIdentity: TableIdentitySymbol)(profileTable: Any) extends NullaryNode with SimplyTypedNode with TypeGenerator

A Node representing a database table.

A Node representing a database table.

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Node
trait Dumpable
class Object
trait Matchable
class Any
final case class Take(from: Node, count: Node) extends SimpleFilteredQuery with BinaryNode

A .take call.

A .take call.

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Node
trait Dumpable
class Object
trait Matchable
class Any
trait TermSymbol extends Symbol

A symbol representing a variable

A symbol representing a variable

Attributes

Source:
Symbol.scala
Graph
Supertypes
trait Symbol
class Object
trait Matchable
class Any
Known subtypes
trait Type extends Dumpable

Super-trait for all types

Super-trait for all types

Attributes

Companion:
object
Source:
Type.scala
Graph
Supertypes
trait Dumpable
class Object
trait Matchable
class Any
Known subtypes
trait BaseTypedType[T]
class ScalaBaseType[T]
trait JdbcType[T]
class MappedJdbcType[T, U]
class MappedColumnType[T, U]
object UnassignedType.type
trait TypedType[T]
trait ScalaType[T]
object Type

Attributes

Companion:
trait
Source:
Type.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Type.type

A Node which introduces a NominalType.

A Node which introduces a NominalType.

Attributes

Source:
Symbol.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class GroupBy
class Pure
class TableNode
final case class TypeMapping(child: Node, mapper: Mapper, classTag: ClassTag[_]) extends UnaryNode with SimplyTypedNode

A client-side type mapping

A client-side type mapping

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait UnaryNode
trait Node
trait Dumpable
class Object
trait Matchable
class Any
trait TypeSymbol extends Symbol

The symbol of a nominal type

The symbol of a nominal type

Attributes

Source:
Symbol.scala
Graph
Supertypes
trait Symbol
class Object
trait Matchable
class Any
Known subtypes
final class TypeUtil(val tpe: Type) extends AnyVal

Attributes

Companion:
object
Source:
Type.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any
object TypeUtil

Attributes

Companion:
class
Source:
Type.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class TypedCollectionTypeConstructor[C[_]](val classTag: ClassTag[C[Any]]) extends CollectionTypeConstructor

Attributes

Companion:
object
Source:
Type.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion:
class
Source:
Type.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait TypedType[T] extends Type

A Type that carries a Scala type argument

A Type that carries a Scala type argument

Attributes

Companion:
object
Source:
Type.scala
Graph
Supertypes
trait Type
trait Dumpable
class Object
trait Matchable
class Any
Known subtypes
trait BaseTypedType[T]
class ScalaBaseType[T]
trait JdbcType[T]
class MappedJdbcType[T, U]
class MappedColumnType[T, U]
trait ScalaType[T]
Self type
object TypedType

Attributes

Companion:
trait
Source:
Type.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait UnaryNode extends Node

Attributes

Source:
Node.scala
Graph
Supertypes
trait Node
trait Dumpable
class Object
trait Matchable
class Any
Known subtypes
class First
class GetOrElse
class Pure
class Select
class Subquery
case object UnassignedType extends AtomicType

The standard type for freshly constructed nodes without an explicit type.

The standard type for freshly constructed nodes without an explicit type.

Attributes

Source:
Type.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Type
trait Dumpable
class Object
trait Matchable
class Any
Self type
final case class Union(left: Node, right: Node, all: Boolean) extends BinaryNode with SimplyTypedNode

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

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

Attributes

Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Node
trait Dumpable
class Object
trait Matchable
class Any
object Util

Utility methods for AST manipulation.

Utility methods for AST manipulation.

Attributes

Source:
Util.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Util.type