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)(implicit ec: ExecutionContext, system: ActorSystem[_])

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]) @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. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def select[A](logPrefix: String)(statement: (Connection) => Statement, mapRow: (Row) => A): Future[IndexedSeq[A]]
  19. def selectOne[A](logPrefix: String)(statement: (Connection) => Statement, mapRow: (Row) => A): Future[Option[A]]
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. def update(logPrefix: String)(statementsFactory: (Connection) => IndexedSeq[Statement]): Future[IndexedSeq[Int]]

    Several update statements in the same transaction.

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

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

  24. 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
  25. def updateOne(logPrefix: String)(statementFactory: (Connection) => Statement): Future[Int]

    One update statement with auto commit.

  26. 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
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  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. 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).

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

    Runs the passed function in using a Connection that's participating on a transaction Transaction is commit at the end or rolled back in case of failures.

Inherited from AnyRef

Inherited from Any

Ungrouped