Packages

class SqlConnection extends SqlClient

A connection to database server.

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

Instance Constructors

  1. new SqlConnection(_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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def asJava: AnyRef
    Definition Classes
    SqlClient
  6. def begin(): Transaction

    Begin a transaction and returns a io.vertx.scala.sqlclient.Transaction for controlling and tracking this transaction.

    Begin a transaction and returns a io.vertx.scala.sqlclient.Transaction for controlling and tracking this transaction.

    When the connection is explicitely closed, any inflight transaction is rollbacked. * @return the transaction instance

  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def close(): Unit

    Close the current connection after all the pending commands have been processed.

    Close the current connection after all the pending commands have been processed.

    Definition Classes
    SqlConnectionSqlClient
  9. def closeHandler(handler: Handler[Unit]): SqlConnection

    Set an handler called when the connection is closed.

    Set an handler called when the connection is closed. * @param handler the handler

    returns

    a reference to this, so the API can be used fluently

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def exceptionHandler(handler: Handler[Throwable]): SqlConnection

    Set an handler called with connection errors.

    Set an handler called with connection errors. * @param handler the handler

    returns

    a reference to this, so the API can be used fluently

  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isSSL(): Boolean

    returns

    whether the connection uses SSL

  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[PreparedQuery]]): SqlConnection

    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[PreparedQuery]

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

  23. def preparedBatch(sql: String, batch: Buffer[Tuple], handler: Handler[AsyncResult[RowSet[Row]]]): SqlConnection

    Prepare and execute a createBatch.

    Prepare and execute a createBatch. * @param sql the prepared query SQL

    batch

    the batch of tuples

    handler

    the handler notified with the execution result

    returns

    a reference to this, so the API can be used fluently

    Definition Classes
    SqlConnectionSqlClient
  24. def preparedBatchFuture(sql: String, batch: Buffer[Tuple]): Future[RowSet[Row]]

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

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

    Definition Classes
    SqlConnectionSqlClient
  25. def preparedQuery(sql: String, arguments: Tuple, handler: Handler[AsyncResult[RowSet[Row]]]): SqlConnection

    Prepare and execute a query.

    Prepare and execute a query. * @param sql the prepared query SQL

    arguments

    the list of arguments

    handler

    the handler notified with the execution result

    returns

    a reference to this, so the API can be used fluently

    Definition Classes
    SqlConnectionSqlClient
  26. def preparedQuery(sql: String, handler: Handler[AsyncResult[RowSet[Row]]]): SqlConnection

    Prepare and execute a query.

    Prepare and execute a query. * @param sql the prepared query SQL

    handler

    the handler notified with the execution result

    returns

    a reference to this, so the API can be used fluently

    Definition Classes
    SqlConnectionSqlClient
  27. def preparedQueryFuture(sql: String, arguments: Tuple): Future[RowSet[Row]]

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

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

    Definition Classes
    SqlConnectionSqlClient
  28. def preparedQueryFuture(sql: String): Future[RowSet[Row]]

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

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

    Definition Classes
    SqlConnectionSqlClient
  29. def query(sql: String, handler: Handler[AsyncResult[RowSet[Row]]]): SqlConnection

    Execute a simple query.

    Execute a simple query. * @param sql the query SQL

    handler

    the handler notified with the execution result

    returns

    a reference to this, so the API can be used fluently

    Definition Classes
    SqlConnectionSqlClient
  30. def queryFuture(sql: String): Future[RowSet[Row]]

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

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

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

Inherited from SqlClient

Inherited from AnyRef

Inherited from Any

Ungrouped