Represents an PostgreSQL client
Constructor and description |
---|
PostgreSQLClient
(java.lang.Object delegate) |
Type | Name and description |
---|---|
static AsyncSQLClient |
createNonShared(Vertx vertx, java.util.Map<java.lang.String, java.lang.Object> config) Create a PostgreSQL client which maintains its own pool. |
static AsyncSQLClient |
createShared(Vertx vertx, java.util.Map<java.lang.String, java.lang.Object> config, java.lang.String poolName) Create a PostgreSQL client which shares its pool with any other MySQL clients created with the same pool name. |
static AsyncSQLClient |
createShared(Vertx vertx, java.util.Map<java.lang.String, java.lang.Object> config) Like PostgreSQLClient.createShared but with the default pool name |
java.lang.Object |
getDelegate() |
Methods inherited from class | Name |
---|---|
class AsyncSQLClient |
close, close, getConnection, getDelegate |
Create a PostgreSQL client which maintains its own pool.
vertx
- the Vert.x instanceconfig
- the configurationCreate a PostgreSQL client which shares its pool with any other MySQL clients created with the same pool name.
vertx
- the Vert.x instanceconfig
- the configurationpoolName
- the pool nameLike PostgreSQLClient.createShared but with the default pool name
vertx
- the Vert.x instanceconfig
- the configuration