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
class Object
trait Matchable
class Any
Known subtypes
object HeapBackend.type

Members list

Concise view

Type members

Classlikes

class HeapDatabaseDef(val synchronousExecutionContext: ExecutionContext) extends BasicDatabaseDef

Attributes

Source:
HeapBackend.scala
Graph
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any

Attributes

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

Attributes

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

Attributes

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

Attributes

Companion:
trait
Source:
HeapBackend.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self 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
Graph
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
Graph
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
Graph
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
Graph
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes
class BasicStreamingActionContext(subscriber: Subscriber[_], val useSameThread: Boolean, database: Database) extends BasicActionContext with StreamingActionContext with Subscription

A special DatabaseActionContext for streaming execution.

A special DatabaseActionContext for streaming execution.

Attributes

Inherited from:
BasicBackend
Source:
BasicBackend.scala
Graph
Supertypes
trait Subscription
class Object
trait Matchable
class Any
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.

Attributes

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.

Source:
HeapBackend.scala

Concrete fields

The database factory

The database factory

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