trait PostgresClient extends AnyRef
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- PostgresClient
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def charset: Charset
-
abstract
def
close(): Future[Unit]
Close the underlying connection pool and make this Client eternally down
- abstract def execute(sql: String): Future[OK]
- abstract def executeUpdate(sql: String): Future[OK]
- abstract def fetch(sql: String): Future[SelectResult]
- abstract def inTransaction[T](fn: (PostgresClient) ⇒ Future[T]): Future[T]
-
abstract
def
isAvailable: Boolean
Determines whether this client is available (can accept requests with a reasonable likelihood of success).
- abstract def prepareAndExecute(sql: String, params: Param[_]*): Future[Int]
- abstract def prepareAndQuery[T](sql: String, params: Param[_]*)(f: (Row) ⇒ T): Future[Seq[T]]
- abstract def query(sql: String): Future[QueryResponse]
- abstract def select[T](sql: String)(f: (Row) ⇒ T): Future[Seq[T]]
-
abstract
def
status: Status
The current availability Status of this client.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )