scala.slick

lifted

package lifted

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

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 Rep[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, C[_]] extends WrappingQuery[(E1, E2), (U1, U2), C]

  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. class CaseClassShape[P <: Product, LiftedTuple, LiftedCaseClass <: P, PlainTuple, PlainCaseClass <: P] extends MappedScalaProductShape[FlatShapeLevel, P, LiftedCaseClass, PlainCaseClass, LiftedCaseClass]

    A generic case class shape that can be used to lift a case class of plain Scala types to a case class of lifted types.

  10. abstract class Column[T] extends Rep[T]

    Base class for columns.

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

    Extension methods for all Columns

  12. trait ColumnLowPriority extends AnyRef

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

    A Column with an associated Ordering.

  14. trait ColumnsShapeLevel extends FlatShapeLevel

    ShapeLevel that only allows records of individual columns.

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

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

  16. trait CompilableFunctions extends CompilableLowPriority

  17. trait CompilableLowPriority extends AnyRef

  18. 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.

  19. abstract class CompiledExecutable[R, RU] extends RunnableCompiled[R, RU] with CompilersMixin

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

  21. abstract class CompiledStreamingExecutable[R, RU, EU] extends CompiledExecutable[R, RU] with StreamableCompiled[R, RU, EU]

  22. trait CompilersMixin extends AnyRef

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

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

  24. trait Constraint extends AnyRef

    Marker trait for foreign key and primary key constraints.

  25. trait Executable[T, TU] extends AnyRef

    Typeclass for types that can be executed as queries.

  26. trait ExtensionMethodConversions extends AnyRef

  27. trait ExtensionMethods[B1, P1] extends Any

  28. trait FlatShapeLevel extends NestedShapeLevel

    ShapeLevel that does not allow nested collections.

  29. final class ForeignKey extends AnyRef

    Represents a foreign key.

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

    A query that selects data linked by a foreign key.

  31. final class FunctionSymbolExtensionMethods extends AnyRef

    Utility methods for internal use in the lifted embedding

  32. class Index extends AnyRef

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

  33. class Isomorphism[A, B] extends AnyRef

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

  34. 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.

  35. 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

  36. class MappedProjection[T, P] extends Rep[T]

  37. 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.

  38. trait MappedTo[T] extends MappedToBase

    The base type for automatically mapped column types.

  39. trait MappedToBase extends Any

  40. trait NestedShapeLevel extends ShapeLevel

    ShapeLevel that allows nested collections.

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

    Extension methods for numeric Columns

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

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

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

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

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

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

    A scalar query parameter.

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

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

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

    An explicit primary key.

  51. 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.

  52. trait ProvenShape[U] extends AnyRef

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

  53. sealed abstract class Query[+E, U, C[_]] extends QueryBase[C[U]]

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

  54. sealed trait QueryBase[T] extends Rep[T]

  55. abstract class RefTag extends Tag

    A Tag for table instances that represent a path

  56. trait Rep[T] extends AnyRef

    Common base trait for all lifted values.

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

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

  58. 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.

  59. trait ShapeLevel extends AnyRef

    The level of a Shape, i.

  60. trait ShapeLowPriority2 extends AnyRef

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

    A value together with its Shape

  62. trait SimpleBinaryOperator extends BinaryNode

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

  63. trait SimpleExpression extends Node

    A SimpleExpression allows arbitrary SQL code to be generated.

  64. trait SimpleFunction extends Node

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

  65. 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.

  66. final class SingleColumnQueryExtensionMethods[B1, P1, C[_]] extends AnyVal

    Extension methods for Queries of a single Column

  67. trait StreamableCompiled[R, RU, EU] extends RunnableCompiled[R, RU]

    A compiled value that can be executed to obtain its result as a stream of data.

  68. trait StreamingExecutable[T, TU, EU] extends Executable[T, TU]

    Typeclass for types that can be executed as streaming queries, i.

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

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

  70. class TableQuery[E <: AbstractTable[_]] extends Query[E, lifted.TableQuery.E.TableElementType, Seq]

    Represents a database table.

  71. sealed trait Tag extends AnyRef

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

  72. final class ToShapedValue[T] extends AnyVal

  73. 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

  74. class WrappingQuery[+E, U, C[_]] extends Query[E, U, C]

Value Members

  1. object AbstractTable

  2. object CanBeQueryCondition

  3. object Case

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

  4. object Column extends ColumnLowPriority

  5. object Compilable extends CompilableFunctions

  6. object Compiled

  7. object Executable

  8. object ForeignKey

  9. object FunctionSymbolExtensionMethods

  10. object Functions

    Contains stand-alone database functions for use in queries.

  11. object MappedProjection

  12. object MappedToBase

  13. object OptionMapper2

  14. object OptionMapper3

  15. object OptionMapperDSL

  16. object Ordered

  17. object Parameters

  18. object ProvenShape

  19. object Query

    The companion object for Query contains factory methods for creating queries.

  20. object RepShape extends Shape[FlatShapeLevel, Rep[_], Any, Rep[_]]

    Shape for Rep values (always fully packed)

  21. object Shape extends ShapeLowPriority2

  22. object ShapedValue extends Serializable

  23. object SimpleBinaryOperator

  24. object SimpleExpression

  25. object SimpleFunction

  26. object StreamingExecutable extends StreamingExecutable[Rep[Any], Any, Any]

    A prototype StreamingExecutable instance for Rep types.

  27. object TableQuery

  28. object TableQueryMacroImpl

Inherited from AnyRef

Inherited from Any

Ungrouped