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. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from HeapBackend toany2stringadd[HeapBackend] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. 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()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. val Database: HeapDatabaseFactoryDef

    The database factory

    The database factory

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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  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 any2stringadd fromHeapBackend to any2stringadd[HeapBackend]

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