slick

dbio

package dbio

The dbio package contains the Database I/O Action implementation. See DBIOAction for details.

Source
package.scala
Linear Supertypes
AnyRef, Any
Content Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. dbio
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait ActionContext extends AnyRef

    The base trait for the context object passed to synchronous database actions by the execution engine.

  2. case class AndThenAction[+R, +S <: NoStream, -E <: Effect](a1: DBIOAction[_, NoStream, E], a2: DBIOAction[R, S, E]) extends DBIOAction[R, S, E] with Product with Serializable

    A DBIOAction that represents an andThen operation for sequencing in the DBIOAction monad.

  3. case class AsTryAction[+R, -E <: Effect](a: DBIOAction[R, NoStream, E]) extends DBIOAction[Try[R], NoStream, E] with Product with Serializable

    A DBIOAction that represents an asTry operation.

  4. case class CleanUpAction[+R, +S <: NoStream, -E <: Effect](base: DBIOAction[R, S, E], f: (Option[Throwable]) ⇒ DBIOAction[_, NoStream, E], keepFailure: Boolean, executor: ExecutionContext) extends DBIOAction[R, S, E] with Product with Serializable

    A DBIOAction that represents a cleanUp operation for sequencing in the DBIOAction monad.

  5. type DBIO[+R] = DBIOAction[R, NoStream, All]

    Simplified type for a DBIOAction without streaming or effect tracking

  6. sealed trait DBIOAction[+R, +S <: NoStream, -E <: Effect] extends Dumpable

    A Database I/O Action that can be executed on a database.

  7. trait DatabaseAction[+R, +S <: NoStream, -E <: Effect] extends DBIOAction[R, S, E]

    A DBIOAction that represents a database operation.

  8. trait Effect extends AnyRef

    A phantom type for annotating DBIOActions with specific effects (e.

  9. case class FailedAction[-E <: Effect](a: DBIOAction[_, NoStream, E]) extends DBIOAction[Throwable, NoStream, E] with Product with Serializable

    A DBIOAction that represents a failed operation.

  10. case class FailureAction(t: Throwable) extends SynchronousDatabaseAction[Nothing, NoStream, DatabaseComponent, Effect] with Product with Serializable

    A DBIOAction that fails.

  11. case class FlatMapAction[+R, +S <: NoStream, P, -E <: Effect](base: DBIOAction[P, NoStream, E], f: (P) ⇒ DBIOAction[R, S, E], executor: ExecutionContext) extends DBIOAction[R, S, E] with Product with Serializable

    A DBIOAction that represents a flatMap operation for sequencing in the DBIOAction monad.

  12. case class FutureAction[+R](f: Future[R]) extends DBIOAction[R, NoStream, Effect] with Product with Serializable

    An asynchronous DBIOAction that returns the result of a Future.

  13. case class NamedAction[+R, +S <: NoStream, -E <: Effect](a: DBIOAction[R, S, E], name: String) extends DBIOAction[R, S, E] with Product with Serializable

    A DBIOAction that attaches a name for logging purposes to another action.

  14. sealed trait NoStream extends AnyRef

    A phantom type used as the streaming result type for DBIOActions that do not support streaming.

  15. case class SequenceAction[R, +R2, -E <: Effect](as: IndexedSeq[DBIOAction[R, NoStream, E]])(implicit cbf: CanBuild[R, R2]) extends DBIOAction[R2, NoStream, E] with Product with Serializable

    A DBIOAction that represents a sequence operation for sequencing in the DBIOAction monad.

  16. sealed trait Streaming[+T] extends NoStream

    A phantom type used as the streaming result type for DBIOActions that do support streaming.

  17. trait StreamingActionContext extends ActionContext

    An ActionContext with extra functionality required for streaming DBIOActions.

  18. type StreamingDBIO[+R, +T] = DBIOAction[R, Streaming[T], All]

    Simplified type for a streaming DBIOAction without effect tracking

  19. case class SuccessAction[+R](value: R) extends SynchronousDatabaseAction[R, NoStream, DatabaseComponent, Effect] with Product with Serializable

    A DBIOAction that returns a constant value.

  20. trait SynchronousDatabaseAction[+R, +S <: NoStream, -B <: DatabaseComponent, -E <: Effect] extends DatabaseAction[R, S, E]

    A synchronous database action provides a function from an ActionContext to the result type.

Value Members

  1. object DBIO

  2. object Effect

  3. object SynchronousDatabaseAction

Inherited from AnyRef

Inherited from Any

Ungrouped