Packages

class R2dbcExecutor extends AnyRef

INTERNAL API:

Annotations
@InternalStableApi()
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. R2dbcExecutor
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new R2dbcExecutor(connectionFactory: ConnectionFactory, log: Logger, logDbCallsExceeding: FiniteDuration, closeCallsExceeding: Option[FiniteDuration])(implicit ec: ExecutionContext, system: ActorSystem[_])
  2. new R2dbcExecutor(connectionFactory: ConnectionFactory, log: Logger, logDbCallsExceeding: FiniteDuration)(implicit ec: ExecutionContext, system: ActorSystem[_])
    Annotations
    @deprecated
    Deprecated

    (Since version 1.2.0) Use constructor with closeCallsExceeding

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. val connectionFactory: ConnectionFactory
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def executeDdl(logPrefix: String)(statement: (Connection) => Statement): Future[Done]

    Run DDL statement with auto commit.

  10. def executeDdls(logPrefix: String)(statementFactory: (Connection) => IndexedSeq[Statement]): Future[Done]

    Run DDL statements in the same transaction.

  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. def select[A](logPrefix: String)(statement: (Connection) => Statement, mapRow: (Row) => A): Future[IndexedSeq[A]]
  18. def selectOne[A](logPrefix: String)(statement: (Connection) => Statement, mapRow: (Row) => A): Future[Option[A]]
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. def update(logPrefix: String)(statementsFactory: (Connection) => IndexedSeq[Statement]): Future[IndexedSeq[Long]]

    Several update statements in the same transaction.

  22. def updateInBatch(logPrefix: String)(statementFactory: (Connection) => Statement): Future[Long]

    Update statement that is constructed by several statements combined with add().

  23. def updateInBatchReturning[A](logPrefix: String)(statementFactory: (Connection) => Statement, mapRow: (Row) => A): Future[IndexedSeq[A]]

    Update statement that is constructed by several statements combined with add().

    Update statement that is constructed by several statements combined with add(). Returns the mapped result of all rows. For example with Postgres:

    INSERT INTO foo(name) VALUES ('bar') returning db_timestamp
  24. def updateOne(logPrefix: String)(statementFactory: (Connection) => Statement): Future[Long]

    One update statement with auto commit.

  25. def updateOneReturning[A](logPrefix: String)(statementFactory: (Connection) => Statement, mapRow: (Row) => A): Future[A]

    One update statement with auto commit and return mapped result.

    One update statement with auto commit and return mapped result. For example with Postgres:

    INSERT INTO foo(name) VALUES ('bar') returning db_timestamp
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. def withAutoCommitConnection[A](logPrefix: String)(fun: (Connection) => Future[A]): Future[A]

    Runs the passed function in using a Connection with auto-commit enable (non-transactional).

  30. def withConnection[A](logPrefix: String)(fun: (Connection) => Future[A]): Future[A]

    Runs the passed function in using a Connection with a new transaction.

    Runs the passed function in using a Connection with a new transaction. The connection is closed and the transaction is committed at the end or rolled back in case of failures.

Deprecated Value Members

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

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped