Modifier and Type | Interface and Description |
---|---|
interface |
DB2Connection
A connection to DB2 server.
|
interface |
DB2Pool
A pool of DB2 connections.
|
Modifier and Type | Method and Description |
---|---|
static SqlClient |
DB2Pool.client(DB2ConnectOptions database,
PoolOptions options)
Create a pooled client to the DB2
database configured with the given options . |
static SqlClient |
DB2Pool.client(List<DB2ConnectOptions> databases,
PoolOptions options)
Create a client backed by a connection pool to the DB2
databases with round-robin selection. |
static SqlClient |
DB2Pool.client(String connectionUri)
Like
DB2Pool.client(String, PoolOptions) with default options. |
static SqlClient |
DB2Pool.client(String connectionUri,
PoolOptions options)
|
static SqlClient |
DB2Pool.client(Vertx vertx,
DB2ConnectOptions database,
PoolOptions options)
Like
DB2Pool.client(DB2ConnectOptions, PoolOptions) with a specific
Vertx instance. |
static SqlClient |
DB2Pool.client(Vertx vertx,
List<DB2ConnectOptions> databases,
PoolOptions options)
Like
DB2Pool.client(List, PoolOptions) with a specific
Vertx instance. |
static SqlClient |
DB2Pool.client(Vertx vertx,
String connectionUri)
Like
DB2Pool.client(Vertx, String, PoolOptions) with default options. |
static SqlClient |
DB2Pool.client(Vertx vertx,
String connectionUri,
PoolOptions options)
|
Modifier and Type | Method and Description |
---|---|
static SqlUserUtil |
SqlUserUtil.create(SqlClient client)
Create an instance of the user helper.
|
static SqlAuthorization |
SqlAuthorization.create(SqlClient client)
Create a JDBC authorization provider implementation
|
static SqlAuthentication |
SqlAuthentication.create(SqlClient client)
Create a JDBC auth provider implementation
|
static SqlAuthentication |
SqlAuthentication.create(SqlClient client,
SqlAuthenticationOptions options)
Create a JDBC auth provider implementation
|
static SqlAuthorization |
SqlAuthorization.create(SqlClient client,
SqlAuthorizationOptions options)
Create a JDBC authorization provider implementation
|
static SqlUserUtil |
SqlUserUtil.create(SqlClient client,
String insertUserSQL,
String insertUserRoleSQL,
String insertRolePermissionSQL)
Create an instance of the user helper with custom queries.
|
Modifier and Type | Interface and Description |
---|---|
interface |
JDBCPool
JDBCPool is the interface that allows using the Sql Client API with plain JDBC.
|
Modifier and Type | Interface and Description |
---|---|
interface |
MSSQLConnection
A connection to Microsoft SQL Server.
|
interface |
MSSQLPool
A
pool of SQL Server connections . |
Modifier and Type | Interface and Description |
---|---|
interface |
MySQLConnection
An interface which represents a connection to MySQL server.
|
interface |
MySQLPool
A
pool of MySQL Connections . |
Modifier and Type | Method and Description |
---|---|
static SqlClient |
MySQLPool.client(List<MySQLConnectOptions> databases,
PoolOptions options)
Create a client backed by a connection pool to the MySQL
databases with round-robin selection. |
static SqlClient |
MySQLPool.client(MySQLConnectOptions connectOptions,
PoolOptions poolOptions)
Create a client backed by a connection pool to the database configured with the given
connectOptions and poolOptions . |
static SqlClient |
MySQLPool.client(String connectionUri)
Like
MySQLPool.client(String, PoolOptions) with a default poolOptions . |
static SqlClient |
MySQLPool.client(String connectionUri,
PoolOptions poolOptions)
Like
MySQLPool.client(MySQLConnectOptions, PoolOptions) with connectOptions build from connectionUri . |
static SqlClient |
MySQLPool.client(java.util.function.Supplier<Future<MySQLConnectOptions>> databases,
PoolOptions options)
Create a client backed by a connection pool to the MySQL
databases . |
static SqlClient |
MySQLPool.client(Vertx vertx,
List<MySQLConnectOptions> mySQLConnectOptions,
PoolOptions options)
Like
MySQLPool.client(List, PoolOptions) with a specific Vertx instance. |
static SqlClient |
MySQLPool.client(Vertx vertx,
MySQLConnectOptions connectOptions,
PoolOptions poolOptions)
Like
MySQLPool.client(MySQLConnectOptions, PoolOptions) with a specific Vertx instance. |
static SqlClient |
MySQLPool.client(Vertx vertx,
String connectionUri)
Like
MySQLPool.client(Vertx, String,PoolOptions) with a default poolOptions . |
static SqlClient |
MySQLPool.client(Vertx vertx,
String connectionUri,
PoolOptions poolOptions)
Like
MySQLPool.client(Vertx, MySQLConnectOptions, PoolOptions) with connectOptions build from connectionUri . |
static SqlClient |
MySQLPool.client(Vertx vertx,
java.util.function.Supplier<Future<MySQLConnectOptions>> mySQLConnectOptions,
PoolOptions options)
Like
MySQLPool.client(Supplier, PoolOptions) with a specific Vertx instance. |
Modifier and Type | Interface and Description |
---|---|
interface |
PgConnection
A connection to Postgres.
|
interface |
PgPool
A
pool of PostgreSQL connections . |
Modifier and Type | Method and Description |
---|---|
static SqlClient |
PgPool.client()
Like
PgPool.client(PoolOptions) with default options. |
static SqlClient |
PgPool.client(List<PgConnectOptions> databases,
PoolOptions options)
Create a client backed by a connection pool to the PostgreSQL
databases with round-robin selection. |
static SqlClient |
PgPool.client(PgConnectOptions database,
PoolOptions options)
Create a client backed by a connection pool to the PostgreSQL
database configured with the given options . |
static SqlClient |
PgPool.client(PoolOptions options)
Like
PgPool.client(PgConnectOptions, PoolOptions) with database retrieved from the environment variables. |
static SqlClient |
PgPool.client(String connectionUri)
Like
PgPool.pool(String, PoolOptions) with default options. |
static SqlClient |
PgPool.client(String connectionUri,
PoolOptions options)
|
static SqlClient |
PgPool.client(java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions options)
Create a client backed by a connection pool to the PostgreSQL
databases . |
static SqlClient |
PgPool.client(Vertx vertx,
List<PgConnectOptions> databases,
PoolOptions options)
Like
PgPool.client(List, PoolOptions) with a specific Vertx instance. |
static SqlClient |
PgPool.client(Vertx vertx,
PgConnectOptions database,
PoolOptions options)
Like
PgPool.client(PgConnectOptions, PoolOptions) with a specific Vertx instance. |
static SqlClient |
PgPool.client(Vertx vertx,
PoolOptions poolOptions)
Like
PgPool.client(Vertx, PgConnectOptions, PoolOptions) with database retrieved from the environment variables. |
static SqlClient |
PgPool.client(Vertx vertx,
String connectionUri)
Like
PgPool.client(Vertx, String,PoolOptions) with default options. |
static SqlClient |
PgPool.client(Vertx vertx,
String connectionUri,
PoolOptions options)
|
static SqlClient |
PgPool.client(Vertx vertx,
java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions options)
Like
PgPool.client(Supplier, PoolOptions) with a specific Vertx instance. |
Modifier and Type | Method and Description |
---|---|
SqlClient |
SqlClient.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static SqlClient |
SqlClient.newInstance(SqlClient arg) |
Constructor and Description |
---|
SqlClient(SqlClient delegate) |
Modifier and Type | Method and Description |
---|---|
SqlClient |
SqlClient.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static SqlClient |
SqlClient.newInstance(SqlClient arg) |
Constructor and Description |
---|
SqlClient(SqlClient delegate) |
Modifier and Type | Method and Description |
---|---|
SqlClient |
SqlClient.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static SqlClient |
SqlClient.newInstance(SqlClient arg) |
Constructor and Description |
---|
SqlClient(SqlClient delegate) |
Modifier and Type | Interface and Description |
---|---|
interface |
Pool
A connection pool which reuses a number of SQL connections.
|
interface |
SqlConnection
A connection to the database server.
|
Modifier and Type | Method and Description |
---|---|
static SqlTemplate<Map<String,Object>,RowSet<Row>> |
SqlTemplate.forQuery(SqlClient client,
String template)
Create an SQL template for query purpose consuming map parameters and returning
Row . |
static SqlTemplate<Map<String,Object>,SqlResult<Void>> |
SqlTemplate.forUpdate(SqlClient client,
String template)
Create an SQL template for query purpose consuming map parameters and returning void.
|
Copyright © 2024 Eclipse. All rights reserved.