HeapBackend

slick.memory.HeapBackend
See theHeapBackend companion object

A simple database engine that stores data in heap data structures.

Attributes

Companion
object
Source
HeapBackend.scala
Graph
Supertypes
trait Logging
trait BasicBackend
class Object
trait Matchable
class Any
Show all
Known subtypes
object HeapBackend.type

Members list

Type members

Classlikes

class HeapDatabaseDef(val synchronousExecutionContext: ExecutionContext) extends BasicDatabaseDef

Attributes

Source
HeapBackend.scala
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all

Attributes

Source
HeapBackend.scala
Supertypes
class Object
trait Matchable
class Any
class HeapSessionDef(val database: Database) extends BasicSessionDef

Attributes

Source
HeapBackend.scala
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all
class HeapTable(val name: String, val columns: IndexedSeq[Column], indexes: IndexedSeq[Index], constraints: IndexedSeq[Constraint])

Attributes

Source
HeapBackend.scala
Supertypes
class Object
trait Matchable
class Any
object Verifier

Attributes

Companion
trait
Source
HeapBackend.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Verifier.type
trait Verifier

A Verifier is called before and after data is updated in a table. It ensures that no constraints are violated before the update and updates the indices afterwards.

A Verifier is called before and after data is updated in a table. It ensures that no constraints are violated before the update and updates the indices afterwards.

Attributes

Companion
object
Source
HeapBackend.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Inherited classlikes

The context object passed to database actions by the execution engine.

The context object passed to database actions by the execution engine.

Attributes

Inherited from:
BasicBackend
Source
BasicBackend.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait BasicDatabaseDef extends Closeable

A database instance to which connections can be created.

A database instance to which connections can be created.

Attributes

Inherited from:
BasicBackend
Source
BasicBackend.scala
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes
trait BasicSessionDef extends Closeable

A logical session of a Database. The underlying database connection is created lazily on demand.

A logical session of a Database. The underlying database connection is created lazily on demand.

Attributes

Inherited from:
BasicBackend
Source
BasicBackend.scala
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes
class BasicStreamingActionContext(subscriber: Subscriber[_], val useSameThread: Boolean, database: Database) extends BasicActionContext, StreamingActionContext, Subscription

A special DatabaseActionContext for streaming execution.

A special DatabaseActionContext for streaming execution.

Attributes

Inherited from:
BasicBackend
Source
BasicBackend.scala
Supertypes
trait Subscription
class Object
trait Matchable
class Any
Show all
Known subtypes

Types

The type of the context used for running SynchronousDatabaseActions

The type of the context used for running SynchronousDatabaseActions

Attributes

Source
HeapBackend.scala

The type of database objects used by this backend.

The type of database objects used by this backend.

Attributes

Source
HeapBackend.scala

The type of the database factory used by this backend.

The type of the database factory used by this backend.

Attributes

Source
HeapBackend.scala
type Row = IndexedSeq[Any]

Attributes

Source
HeapBackend.scala

The type of session objects used by this backend.

The type of session objects used by this backend.

Attributes

Source
HeapBackend.scala

The type of the context used for streaming SynchronousDatabaseActions

The type of the context used for streaming SynchronousDatabaseActions

Attributes

Source
HeapBackend.scala

Value members

Concrete methods

def createDatabase(config: Config, path: String): Database

Create a Database instance through Typesafe Config. The supported config keys are backend-specific. This method is used by DatabaseConfig.

Create a Database instance through Typesafe Config. The supported config keys are backend-specific. This method is used by DatabaseConfig.

Value parameters

config

The Config object to read from.

path

The path in the configuration file for the database configuration, or an empty string for the top level of the Config object.

Attributes

Source
HeapBackend.scala

Concrete fields

The database factory

The database factory

Attributes

Source
HeapBackend.scala

Attributes

Source
HeapBackend.scala

Inherited fields

lazy protected val actionLogger: SlickLogger

Attributes

Inherited from:
BasicBackend
Source
BasicBackend.scala
lazy protected val streamLogger: SlickLogger

Attributes

Inherited from:
BasicBackend
Source
BasicBackend.scala