Packages

class MySQLConnection extends SqlConnection

A connection to MySQL server.

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

Instance Constructors

  1. new MySQLConnection(_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
    Definition Classes
    SqlConnection
  7. def changeUser(options: MySQLAuthOptions, handler: Handler[AsyncResult[Unit]]): MySQLConnection

    Send a CHANGE_USER command to change the user of the current connection, this operation will also reset connection state.

    Send a CHANGE_USER command to change the user of the current connection, this operation will also reset connection state. * @param options authentication options see MySQLAuthOptions

    handler

    the handler

    returns

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

  8. def changeUserFuture(options: MySQLAuthOptions): Future[Unit]

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

  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. def close(): Unit
    Definition Classes
    SqlConnection → SqlClient
  11. def closeHandler(handler: Handler[Unit]): MySQLConnection
    Definition Classes
    MySQLConnection → SqlConnection
  12. def debug(handler: Handler[AsyncResult[Unit]]): MySQLConnection

    Send a DEBUG command to dump debug information to the server's stdout.

    Send a DEBUG command to dump debug information to the server's stdout. * @param handler the handler notified with the execution result

    returns

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

  13. def debugFuture(): Future[Unit]

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

  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def exceptionHandler(handler: Handler[Throwable]): MySQLConnection
    Definition Classes
    MySQLConnection → SqlConnection
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getInternalStatistics(handler: Handler[AsyncResult[String]]): MySQLConnection

    Send a STATISTICS command to get a human readable string of the server internal status.

    Send a STATISTICS command to get a human readable string of the server internal status. * @param handler the handler notified with the execution result

    returns

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

  20. def getInternalStatisticsFuture(): Future[String]

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

  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def isSSL(): Boolean
    Definition Classes
    SqlConnection
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def ping(handler: Handler[AsyncResult[Unit]]): MySQLConnection

    Send a PING command to check if the server is alive.

    Send a PING command to check if the server is alive. * @param handler the handler notified when the server responses to client

    returns

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

  28. def pingFuture(): Future[Unit]

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

  29. def prepare(sql: String, handler: Handler[AsyncResult[PreparedStatement]]): MySQLConnection
    Definition Classes
    MySQLConnection → SqlConnection
  30. def prepareFuture(sql: String): Future[PreparedStatement]
    Definition Classes
    MySQLConnection → SqlConnection
  31. def preparedQuery(sql: String): PreparedQuery[RowSet[Row]]
    Definition Classes
    SqlClient
  32. def query(sql: String): Query[RowSet[Row]]
    Definition Classes
    SqlClient
  33. def resetConnection(handler: Handler[AsyncResult[Unit]]): MySQLConnection

    Send a RESET_CONNECTION command to reset the session state.

    Send a RESET_CONNECTION command to reset the session state. * @param handler the handler notified with the execution result

    returns

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

  34. def resetConnectionFuture(): Future[Unit]

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

  35. def setOption(option: MySQLSetOption, handler: Handler[AsyncResult[Unit]]): MySQLConnection

    Send a SET_OPTION command to set options for the current connection.

    Send a SET_OPTION command to set options for the current connection. * @param option the options to set

    handler

    the handler notified with the execution result

    returns

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

  36. def setOptionFuture(option: MySQLSetOption): Future[Unit]

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

  37. def specifySchema(schemaName: String, handler: Handler[AsyncResult[Unit]]): MySQLConnection

    Send a INIT_DB command to change the default schema of the connection.

    Send a INIT_DB command to change the default schema of the connection. * @param schemaName name of the schema to change to

    handler

    the handler notified with the execution result

    returns

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

  38. def specifySchemaFuture(schemaName: String): Future[Unit]

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

  39. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from SqlConnection

Inherited from SqlClient

Inherited from AnyRef

Inherited from Any

Ungrouped