Packages

class Transaction extends SqlClient

A transaction that allows to control the transaction and receive events.

Linear Supertypes
SqlClient, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Transaction
  2. SqlClient
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Transaction(_asJava: AnyRef)

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. def abortHandler(handler: Handler[Unit]): Transaction

    Set an handler to be called when the transaction is aborted.

    Set an handler to be called when the transaction is aborted. * @param handler the handler

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def asJava: AnyRef
    Definition Classes
    SqlClient
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def close(): Unit

    Rollback the transaction and release the associated resources.

    Rollback the transaction and release the associated resources.

    Definition Classes
    TransactionSqlClient
  9. def commit(handler: Handler[AsyncResult[Unit]]): Unit

    Like io.vertx.scala.sqlclient.Transaction#commit with an handler to be notified when the transaction commit has completed

  10. def commit(): Unit

    Commit the current transaction.

  11. def commitFuture(): Future[Unit]

    Like commit but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def prepare(sql: String, handler: Handler[AsyncResult[PreparedStatement]]): Transaction

    Create a prepared query.

    Create a prepared query. * @param sql the sql

    handler

    the handler notified with the prepared query asynchronously

  22. def prepareFuture(sql: String): Future[PreparedStatement]

    Like prepare but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  23. def preparedQuery(sql: String): PreparedQuery[RowSet[Row]]

    Create a prepared query, one of the io.vertx.scala.sqlclient.Query#execute or io.vertx.scala.sqlclient.PreparedQuery#executeBatch methods must be called to execute the query.

    Create a prepared query, one of the io.vertx.scala.sqlclient.Query#execute or io.vertx.scala.sqlclient.PreparedQuery#executeBatch methods must be called to execute the query. * @return the prepared query

    Definition Classes
    SqlClient
  24. def query(sql: String): Query[RowSet[Row]]

    Create a query, the io.vertx.scala.sqlclient.Query#execute method must be called to execute the query.

    Create a query, the io.vertx.scala.sqlclient.Query#execute method must be called to execute the query. * @return the query

    Definition Classes
    SqlClient
  25. def rollback(handler: Handler[AsyncResult[Unit]]): Unit

    Like io.vertx.scala.sqlclient.Transaction#rollback with an handler to be notified when the transaction rollback has completed

  26. def rollback(): Unit

    Rollback the current transaction.

  27. def rollbackFuture(): Future[Unit]

    Like rollback but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from SqlClient

Inherited from AnyRef

Inherited from Any

Ungrouped