Packages

class PgConnection extends SqlConnection

A connection to Postgres.

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

Instance Constructors

  1. new PgConnection(_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 cancelRequest(handler: Handler[AsyncResult[Unit]]): PgConnection

    Send a request cancellation message to tell the server to cancel processing request in this connection.

    Send a request cancellation message to tell the server to cancel processing request in this connection.
    Note: Use this with caution because the cancellation signal may or may not have any effect. * @param handler the handler notified if cancelling request is sent

    returns

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

  8. def cancelRequestFuture(): Future[Unit]

    Like cancelRequest 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]): PgConnection
    Definition Classes
    PgConnection → SqlConnection
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def exceptionHandler(handler: Handler[Throwable]): PgConnection
    Definition Classes
    PgConnection → SqlConnection
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def isSSL(): Boolean
    Definition Classes
    SqlConnection
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def notificationHandler(handler: Handler[PgNotification]): PgConnection

    Set an handler called when the connection receives notification on a channel.

    Set an handler called when the connection receives notification on a channel.

    The handler is called with the PgNotification and has access to the channel name and the notification payload. * @param handler the handler

    returns

    the transaction instance

  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def prepare(sql: String, handler: Handler[AsyncResult[PreparedQuery]]): PgConnection
    Definition Classes
    PgConnection → SqlConnection
  25. def prepareFuture(sql: String): Future[PreparedQuery]
    Definition Classes
    PgConnection → SqlConnection
  26. def preparedBatch(sql: String, batch: Buffer[Tuple], handler: Handler[AsyncResult[RowSet[Row]]]): PgConnection
    Definition Classes
    PgConnection → SqlConnection → SqlClient
  27. def preparedBatchFuture(sql: String, batch: Buffer[Tuple]): Future[RowSet[Row]]
    Definition Classes
    PgConnection → SqlConnection → SqlClient
  28. def preparedQuery(sql: String, arguments: Tuple, handler: Handler[AsyncResult[RowSet[Row]]]): PgConnection
    Definition Classes
    PgConnection → SqlConnection → SqlClient
  29. def preparedQuery(sql: String, handler: Handler[AsyncResult[RowSet[Row]]]): PgConnection
    Definition Classes
    PgConnection → SqlConnection → SqlClient
  30. def preparedQueryFuture(sql: String, arguments: Tuple): Future[RowSet[Row]]
    Definition Classes
    PgConnection → SqlConnection → SqlClient
  31. def preparedQueryFuture(sql: String): Future[RowSet[Row]]
    Definition Classes
    PgConnection → SqlConnection → SqlClient
  32. def processId(): Int

    returns

    The process ID of the target backend

  33. def query(sql: String, handler: Handler[AsyncResult[RowSet[Row]]]): PgConnection
    Definition Classes
    PgConnection → SqlConnection → SqlClient
  34. def queryFuture(sql: String): Future[RowSet[Row]]
    Definition Classes
    PgConnection → SqlConnection → SqlClient
  35. def secretKey(): Int

    returns

    The secret key for the target backend

  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. 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