Packages

trait HeapBackend extends RelationalBackend with Logging

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

Source
HeapBackend.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HeapBackend
  2. Logging
  3. RelationalBackend
  4. BasicBackend
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait BasicActionContext extends ActionContext

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

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

    Definition Classes
    BasicBackend
  2. trait BasicDatabaseDef extends Closeable

    A database instance to which connections can be created.

    A database instance to which connections can be created.

    Definition Classes
    BasicBackend
  3. trait BasicSessionDef extends Closeable

    A logical session of a Database.

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

    Definition Classes
    BasicBackend
  4. class BasicStreamingActionContext extends BasicActionContext with StreamingActionContext with Subscription

    A special DatabaseActionContext for streaming execution.

    A special DatabaseActionContext for streaming execution.

    Definition Classes
    BasicBackend
  5. type Context = BasicActionContext

    The type of the context used for running SynchronousDatabaseActions

    The type of the context used for running SynchronousDatabaseActions

    Definition Classes
    HeapBackendBasicBackend
  6. type Database = HeapDatabaseDef

    The database factory

    The database factory

    Definition Classes
    HeapBackendBasicBackend
  7. type DatabaseFactory = HeapDatabaseFactoryDef

    The type of the database factory used by this backend.

    The type of the database factory used by this backend.

    Definition Classes
    HeapBackendBasicBackend
  8. class HeapDatabaseDef extends BasicDatabaseDef
  9. class HeapDatabaseFactoryDef extends AnyRef
  10. class HeapSessionDef extends BasicSessionDef
  11. class HeapTable extends AnyRef
  12. type Row = IndexedSeq[Any]
  13. type Session = HeapSessionDef

    The type of session objects used by this backend.

    The type of session objects used by this backend.

    Definition Classes
    HeapBackendBasicBackend
  14. type StreamingContext = BasicStreamingActionContext

    The type of the context used for streaming SynchronousDatabaseActions

    The type of the context used for streaming SynchronousDatabaseActions

    Definition Classes
    HeapBackendBasicBackend
  15. trait Verifier extends AnyRef

    A Verifier is called before and after data is updated in a table.

    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.

Value Members

  1. val Database: HeapDatabaseFactoryDef

    The database factory

    The database factory

    Definition Classes
    HeapBackendBasicBackend
  2. val backend: HeapBackend
  3. def createDatabase(config: Config, path: String): Database

    Create a Database instance through Typesafe Config.

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

    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.

    Definition Classes
    HeapBackendBasicBackend
  4. def createEmptyDatabase: Database
  5. object Verifier