scala.slick

lifted

package lifted

Lifted embedding: Stable query api based on implicits and overloading lifting Scala code into Slick AST's

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

Type Members

  1. abstract class AbstractTable[T] extends ColumnBase[T]

    The driver-independent superclass of all table row objects.

  2. trait Aliases extends AnyRef

    Aliases for lifted embedding features.

  3. final class AnyExtensionMethods extends AnyVal

    Extension methods for all Columns and all primitive values that can be lifted to Columns

  4. class AppliedCompiledFunction[PU, R <: Rep[_], RU] extends RunnableCompiled[R, RU]

  5. final class BaseJoinQuery[+E1, +E2, U1, U2] extends WrappingQuery[(E1, E2), (U1, U2)]

  6. trait BaseTag extends Tag

    A Tag marking the base table instance itself

  7. final class BooleanColumnExtensionMethods[P1] extends AnyVal with ExtensionMethods[Boolean, P1]

    Extension methods for Column[Boolean] and Column[Option[Boolean]]

  8. trait CanBeQueryCondition[-T] extends (T) ⇒ Column[_]

    A typeclass for types that can be used as predicates in filter calls.

  9. abstract class Column[T] extends ColumnBase[T]

    Base class for columns.

  10. trait ColumnBase[T] extends Rep[T]

    Common base trait for record values (anything that is isomorphic to a tuple of scalar values).

  11. trait ColumnExtensionMethods[B1, P1] extends ExtensionMethods[B1, P1]

    Extension methods for all Columns

  12. case class ColumnOrdered[T](column: Column[T], ord: ast.Ordering) extends Ordered with Product with Serializable

  13. trait Compilable[T, C <: Compiled[T]] extends AnyRef

    Typeclass for types that can be contained in a Compiled container.

  14. trait CompilableFunctions extends CompilableLowPriority

  15. trait CompilableLowPriority extends AnyRef

  16. sealed trait Compiled[T] extends AnyRef

    A possibly parameterized query that will be cached for repeated efficient execution without having to recompile it every time.

  17. class CompiledExecutable[R <: Rep[_], RU] extends RunnableCompiled[R, RU] with CompilersMixin

  18. class CompiledFunction[F, PT, PU, R <: Rep[_], RU] extends Compiled[F] with CompilersMixin

  19. trait CompilersMixin extends AnyRef

  20. abstract class ConstColumn[T] extends Column[T]

    A scalar value that is known at the client side at the time a query is executed.

  21. trait Constraint extends AnyRef

    Marker trait for foreign key and primary key constraints.

  22. trait Executable[T, TU] extends AnyRef

    Typeclass for types that can be executed as queries.

  23. trait ExtensionMethodConversions extends AnyRef

  24. trait ExtensionMethods[B1, P1] extends Any

  25. final class ForeignKey extends AnyRef

  26. class ForeignKeyQuery[E <: AbstractTable[_], U] extends WrappingQuery[E, U] with Constraint

  27. final class FunctionSymbolExtensionMethods extends AnyRef

    Utility methods for internal use in the lifted embedding

  28. class Index extends AnyRef

    An index (or foreign key constraint with an implicit index).

  29. class Isomorphism[A, B] extends AnyRef

    An isomorphism between two types that can be used for mapped column types.

  30. final case class LiteralColumn[T](value: T)(implicit tt: TypedType[T]) extends ConstColumn[T] with Product with Serializable

    A column with a constant value which is inserted into an SQL statement as a literal.

  31. abstract class MappedProductShape[Level <: ShapeLevel, C, M <: C, U <: C, P <: C] extends ProductNodeShape[Level, C, M, U, P]

    Base class for ProductNodeShapes with a type mapping

  32. class MappedProjection[T, P] extends ColumnBase[T]

  33. abstract class MappedScalaProductShape[Level <: ShapeLevel, C <: Product, M <: C, U <: C, P <: C] extends MappedProductShape[Level, C, M, U, P]

    Base class for ProductNodeShapes with a type mapping to a type that extends scala.

  34. trait MappedTo[T] extends MappedToBase

    The base type for automatically mapped column types.

  35. trait MappedToBase extends Any

  36. class NonWrappingQuery[+E, U] extends Query[E, U]

  37. final class NumericColumnExtensionMethods[B1, P1] extends AnyVal with ExtensionMethods[B1, P1]

    Extension methods for numeric Columns

  38. final class OptionColumnExtensionMethods[B1] extends AnyVal with ColumnExtensionMethods[B1, Option[B1]]

  39. trait OptionMapper[BR, R] extends (Column[BR]) ⇒ Column[R]

  40. sealed trait OptionMapper2[B1, B2, BR, P1, P2, R] extends OptionMapper[BR, R]

    Annotations
    @implicitNotFound( ... )
  41. sealed trait OptionMapper3[B1, B2, B3, BR, P1, P2, P3, R] extends OptionMapper[BR, R]

    Annotations
    @implicitNotFound( ... )
  42. class Ordered extends AnyRef

  43. class ParameterColumn[T] extends ConstColumn[T]

    A scalar query parameter.

  44. final class Parameters[PU, PP] extends AnyRef

  45. final class PlainColumnExtensionMethods[P1] extends AnyVal with ColumnExtensionMethods[P1, P1]

  46. case class PrimaryKey(name: String, columns: IndexedSeq[Node]) extends Constraint with Product with Serializable

  47. abstract class ProductNodeShape[Level <: ShapeLevel, C, M <: C, U <: C, P <: C] extends Shape[Level, M, U, P]

    Base class for Shapes of record values which are represented by ProductNodes in the AST.

  48. trait ProvenShape[U] extends AnyRef

    A limited version of ShapedValue which can be constructed for every type that has a valid shape.

  49. abstract class Query[+E, U] extends Rep[Seq[U]]

    An instance of Query represents a query or view, i.

  50. abstract class RefTag extends Tag

    A Tag for table instances that represent a path

  51. trait Rep[T] extends AnyRef

    Common base trait for all lifted values.

  52. trait RunnableCompiled[R, RU] extends Compiled[R]

    A compiled value that can be executed to obtain its result.

  53. abstract class Shape[Level <: ShapeLevel, -Mixed_, Unpacked_, Packed_] extends AnyRef

    A type class that encodes the unpacking Mixed => Unpacked of a Query[Mixed] to its result element type Unpacked and the packing to a fully packed type Packed, i.

  54. trait ShapeLevel extends AnyRef

    The level of a Shape, i.

  55. trait ShapeLowPriority extends ShapeLowPriority1

  56. class ShapeLowPriority1 extends ShapeLowPriority2

  57. class ShapeLowPriority2 extends AnyRef

  58. case class ShapedValue[T, U](value: T, shape: Shape[_ <: Flat, T, U, _]) extends Product with Serializable

    A value together with its Shape

  59. trait SimpleBinaryOperator extends BinaryNode

    A SimpleBinaryOperator gets translated to a binary operator call in SQL.

  60. trait SimpleExpression extends Node

    A SimpleExpression allows arbitrary SQL code to be generated.

  61. trait SimpleFunction extends Node

    A SimpleFunction gets translated to a plain function call or JDBC/ODBC scalar function {fn .

  62. final case class SimpleLiteral(name: String)(tpe: Type) extends NullaryNode with TypedNode with Product with Serializable

    A SimpleLiteral is inserted verbatim into a SQL query string.

  63. final class SingleColumnQueryExtensionMethods[B1, P1] extends AnyVal

    Extension methods for Queries of a single Column

  64. final class StringColumnExtensionMethods[P1] extends AnyVal with ExtensionMethods[String, P1]

    Extension methods for Column[String] and Column[Option[String]]

  65. class TableQuery[E <: AbstractTable[_]] extends NonWrappingQuery[E, lifted.TableQuery.E.TableElementType]

    Represents a database table.

  66. sealed trait Tag extends AnyRef

    A Tag marks a specific row represented by an AbstractTable instance.

  67. final class ToShapedValue[T] extends AnyVal

  68. final class TupleShape[Level <: ShapeLevel, M <: Product, U <: Product, P <: Product] extends ProductNodeShape[Level, Product, M, U, P]

    Shape for Scala tuples of all arities

  69. class WrappingQuery[+E, U] extends Query[E, U]

  70. type ForeignKeyAction = model.ForeignKeyAction

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) Use scala.slick.model.ForeignKeyAction instead

Value Members

  1. object CanBeQueryCondition

  2. object Case

    Case provides a DSL for conditional statements in the query language.

  3. object Column

  4. object Compilable extends CompilableFunctions

  5. object Compiled

  6. object ConstColumn

  7. object Executable

  8. object ForeignKey

  9. object FunctionSymbolExtensionMethods

  10. object Functions

  11. object MappedToBase

  12. object OptionMapper2

  13. object OptionMapper3

  14. object OptionMapperDSL

  15. object Ordered

  16. object Parameters

  17. object ProvenShape

  18. object Query extends Query[Unit, Unit]

    The companion object for Query contains factory methods for creating queries and also acts as an empty Query.

  19. object Shape extends ShapeLowPriority1 with ShapeLowPriority

  20. object ShapeLevel

  21. object SimpleBinaryOperator

  22. object SimpleExpression

  23. object SimpleFunction

  24. object TableQuery

  25. object TableQueryMacroImpl

Deprecated Value Members

  1. val ForeignKeyAction: model.ForeignKeyAction.type

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) Use scala.slick.model.ForeignKeyAction instead

Inherited from AnyRef

Inherited from Any

Ungrouped