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 StringFormat
  2. by Ensuring
  3. 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.

    Attributes
    protected[this]
    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. type This = HeapBackend
    Definition Classes
    HeapBackendBasicBackend
  16. 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. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def ->[B](y: B): (HeapBackend, B)
    Implicit
    This member is added by an implicit conversion from HeapBackend toArrowAssoc[HeapBackend] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. val Database: DatabaseFactory

    The database factory

    The database factory

    Definition Classes
    HeapBackendBasicBackend
  6. lazy val actionLogger: SlickLogger
    Attributes
    protected
    Definition Classes
    BasicBackend
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val backend: HeapBackend
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. 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
  11. def createEmptyDatabase: Database
  12. def ensuring(cond: (HeapBackend) => Boolean, msg: => Any): HeapBackend
    Implicit
    This member is added by an implicit conversion from HeapBackend toEnsuring[HeapBackend] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (HeapBackend) => Boolean): HeapBackend
    Implicit
    This member is added by an implicit conversion from HeapBackend toEnsuring[HeapBackend] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: => Any): HeapBackend
    Implicit
    This member is added by an implicit conversion from HeapBackend toEnsuring[HeapBackend] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): HeapBackend
    Implicit
    This member is added by an implicit conversion from HeapBackend toEnsuring[HeapBackend] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. lazy val logger: SlickLogger
    Attributes
    protected[this]
    Definition Classes
    Logging
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. lazy val streamLogger: SlickLogger
    Attributes
    protected
    Definition Classes
    BasicBackend
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. object Verifier

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from HeapBackend toStringFormat[HeapBackend] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (HeapBackend, B)
    Implicit
    This member is added by an implicit conversion from HeapBackend toArrowAssoc[HeapBackend] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Logging

Inherited from RelationalBackend

Inherited from BasicBackend

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion StringFormat fromHeapBackend to StringFormat[HeapBackend]

Inherited by implicit conversion Ensuring fromHeapBackend to Ensuring[HeapBackend]

Inherited by implicit conversion ArrowAssoc fromHeapBackend to ArrowAssoc[HeapBackend]

Ungrouped