package memory
Contains the abstract MemoryQueryingProfile
and related code, as well as the concrete
MemoryProfile
and DistributedProfile
implementations for in-memory interpretation of
queries and scheduling of distributed queries (i.e. combining several profiles and backends).
- Source
- package.scala
- Alphabetic
- By Inheritance
- memory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait DistributedBackend extends RelationalBackend with Logging
The backend for DistributedProfile.
- class DistributedProfile extends MemoryQueryingProfile
A profile for distributed queries.
- trait HeapBackend extends RelationalBackend with Logging
A simple database engine that stores data in heap data structures.
- trait MemoryProfile extends RelationalProfile with MemoryQueryingProfile
A profile for interpreted queries on top of the in-memory database.
- trait MemoryQueryingProfile extends BasicProfile
The querying (read-only) part that can be shared between MemoryProfile and DistributedProfile.
- trait MemoryResultConverterDomain extends ResultConverterDomain
- final case class ProfileComputation(compiled: Node, profile: RelationalProfile, buildType: Type) extends NullaryNode with SimplyTypedNode with Product with Serializable
Represents a computation that needs to be performed by another profile.
Represents a computation that needs to be performed by another profile. Despite having a child it is a NullaryNode because the sub-computation should be opaque to the query compiler.
- class QueryInterpreter extends Logging
A query interpreter for MemoryProfile and for client-side operations that need to be run as part of distributed queries against multiple backends.
A query interpreter for MemoryProfile and for client-side operations that need to be run as part of distributed queries against multiple backends.
It uses ScalaType, ProductValue/StructValue and plain Scala collections to represent data. Queries are expected to be in the shape after running all the standard query compiler phases (but not the extra relational phases) and assigning ScalaTypes everywhere.
- case class SimpleMemoryAction[+R](f: (HeapBackend.BasicActionContext) => R) extends SynchronousDatabaseAction[R, NoStream, HeapBackend, All] with Product with Serializable
A non-streaming Action that wraps a synchronous MemoryProfile API call.
Deprecated Type Members
- type DistributedDriver = DistributedProfile
- Annotations
- @deprecated
- Deprecated
(Since version 3.2) Use
slick.memory.DistributedProfile
instead ofslick.memory.DistributedDriver
- type MemoryDriver = MemoryProfile
- Annotations
- @deprecated
- Deprecated
(Since version 3.2) Use
slick.memory.MemoryProfile
instead ofslick.memory.MemoryDriver
- type MemoryQueryingDriver = MemoryQueryingProfile
- Annotations
- @deprecated
- Deprecated
(Since version 3.2) Use
slick.memory.MemoryQueryingProfile
instead ofslick.memory.MemoryQueryingDriver
Value Members
- object DistributedBackend extends DistributedBackend
- object HeapBackend extends HeapBackend
- object MemoryCapabilities
Capabilities for MemoryProfile.
- object MemoryProfile extends MemoryProfile
- object QueryInterpreter
Deprecated Value Members
- val MemoryDriver: MemoryProfile.type
- Annotations
- @deprecated
- Deprecated
(Since version 3.2) Use
slick.memory.MemoryProfile
instead ofslick.memory.MemoryDriver
edit this text on github
Scala Language-Integrated Connection Kit
This is the API documentation for the Slick database library. It should be used as an additional resource to the user manual.
Further documentation for Slick can be found on the documentation pages.
To the slick package list...