public interface ConnectionFactory extends Closeable
Driver.createConnectionFactory(io.vertx.core.Vertx, io.vertx.sqlclient.SqlConnectOptions)
Modifier and Type | Method and Description |
---|---|
Future<SqlConnection> |
connect(Context context)
Create a connection using the given
context . |
default Future<SqlConnection> |
connect(Context context,
Future<? extends SqlConnectOptions> fut) |
Future<SqlConnection> |
connect(Context context,
SqlConnectOptions options)
Create a connection using the given
context . |
default Future<SqlConnection> connect(Context context, Future<? extends SqlConnectOptions> fut)
Future<SqlConnection> connect(Context context)
context
.context
- the contextFuture<SqlConnection> connect(Context context, SqlConnectOptions options)
context
.context
- the contextCopyright © 2024 Eclipse. All rights reserved.