Package io.github.zero88.jooqx.spi.mysql
Interface MySQLPoolProvider
- All Superinterfaces:
JooqxSQLClientProvider<io.vertx.mysqlclient.MySQLPool>
,MySQLClientParser
,SQLClientOptionParser<io.vertx.mysqlclient.MySQLConnectOptions>
,SQLClientProvider<io.vertx.mysqlclient.MySQLPool>
public interface MySQLPoolProvider
extends JooqxSQLClientProvider<io.vertx.mysqlclient.MySQLPool>, MySQLClientParser
MySQL pool provider
- Since:
- 2.0.0
- See Also:
-
MySQLPool
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull io.vertx.core.Future<io.vertx.mysqlclient.MySQLPool>
open
(io.vertx.core.Vertx vertx, io.vertx.core.json.JsonObject connOptions, @Nullable io.vertx.core.json.JsonObject poolOptions) Create and open SQL clientdefault String
Defines SQL client class.Methods inherited from interface io.github.zero88.jooqx.provider.JooqxSQLClientProvider
close
Methods inherited from interface io.github.zero88.jooqx.spi.mysql.MySQLClientParser
parseConn
Methods inherited from interface io.github.zero88.jooqx.provider.SQLClientOptionParser
parsePool
-
Method Details
-
sqlClientClass
Description copied from interface:SQLClientProvider
Defines SQL client class.It helps for detecting and scanning in runtime
- Specified by:
sqlClientClass
in interfaceSQLClientProvider<io.vertx.mysqlclient.MySQLPool>
- Returns:
- SQL client class
-
open
@NotNull default @NotNull io.vertx.core.Future<io.vertx.mysqlclient.MySQLPool> open(io.vertx.core.Vertx vertx, io.vertx.core.json.JsonObject connOptions, @Nullable @Nullable io.vertx.core.json.JsonObject poolOptions) Description copied from interface:SQLClientProvider
Create and open SQL client- Specified by:
open
in interfaceSQLClientProvider<io.vertx.mysqlclient.MySQLPool>
- Parameters:
vertx
- vertxconnOptions
- SQL connection optionspoolOptions
- SQL pool options- Returns:
- the SQL client future
-