Interface PgConnProvider

All Superinterfaces:
JooqxSQLClientProvider<io.vertx.pgclient.PgConnection>, PgSQLClientParser, SQLClientOptionParser<io.vertx.pgclient.PgConnectOptions>, SQLClientProvider<io.vertx.pgclient.PgConnection>

public interface PgConnProvider extends JooqxSQLClientProvider<io.vertx.pgclient.PgConnection>, PgSQLClientParser
PostgreSQL connection provider
Since:
2.0.0
See Also:
  • PgConnection
  • Method Summary

    Modifier and Type
    Method
    Description
    default @NotNull io.vertx.core.Future<io.vertx.pgclient.PgConnection>
    open(io.vertx.core.Vertx vertx, io.vertx.core.json.JsonObject connOptions, @Nullable io.vertx.core.json.JsonObject poolOptions)
    Create and open SQL client
    default 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.pg.PgSQLClientParser

    parseConn

    Methods inherited from interface io.github.zero88.jooqx.provider.SQLClientOptionParser

    parsePool
  • Method Details

    • sqlClientClass

      default String sqlClientClass()
      Description copied from interface: SQLClientProvider
      Defines SQL client class.

      It helps for detecting and scanning in runtime

      Specified by:
      sqlClientClass in interface SQLClientProvider<io.vertx.pgclient.PgConnection>
      Returns:
      SQL client class
    • open

      @NotNull default @NotNull io.vertx.core.Future<io.vertx.pgclient.PgConnection> 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 interface SQLClientProvider<io.vertx.pgclient.PgConnection>
      Parameters:
      vertx - vertx
      connOptions - SQL connection options
      poolOptions - SQL pool options
      Returns:
      the SQL client future