Class JDBCPool


  • public class JDBCPool
    extends io.vertx.mutiny.sqlclient.Pool
    JDBCPool is the interface that allows using the Sql Client API with plain JDBC.

    NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static io.smallrye.mutiny.vertx.TypeArg<JDBCPool> __TYPE_ARG  
      static io.vertx.mutiny.sqlclient.PropertyKind<io.vertx.mutiny.sqlclient.Row> GENERATED_KEYS
      The property to be used to retrieve the generated keys
      static io.vertx.mutiny.sqlclient.PropertyKind<Boolean> OUTPUT
      The property to be used to retrieve the output of the callable statement
    • Constructor Summary

      Constructors 
      Constructor Description
      JDBCPool​(io.vertx.jdbcclient.JDBCPool delegate)  
      JDBCPool​(Object delegate)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(Object o)  
      io.vertx.jdbcclient.JDBCPool getDelegate()  
      int hashCode()  
      static JDBCPool newInstance​(io.vertx.jdbcclient.JDBCPool arg)  
      static JDBCPool pool​(io.vertx.mutiny.core.Vertx vertx, io.vertx.core.json.JsonObject config)  
      static JDBCPool pool​(io.vertx.mutiny.core.Vertx vertx, io.vertx.ext.jdbc.spi.DataSourceProvider dataSourceProvider)  
      static JDBCPool pool​(io.vertx.mutiny.core.Vertx vertx, io.vertx.jdbcclient.JDBCConnectOptions connectOptions, io.vertx.sqlclient.PoolOptions poolOptions)  
      static JDBCPool pool​(io.vertx.mutiny.core.Vertx vertx, DataSource dataSource)  
      static JDBCPool pool​(io.vertx.mutiny.core.Vertx vertx, DataSource dataSource, io.vertx.core.json.JsonObject config)  
      String toString()  
      • Methods inherited from class io.vertx.mutiny.sqlclient.Pool

        close, closeAndAwait, closeAndForget, connectHandler, connectionProvider, getConnection, getConnectionAndAwait, getConnectionAndForget, newInstance, pool, pool, pool, preparedQuery, query, size, withConnection, withConnectionAndAwait, withConnectionAndForget, withTransaction, withTransaction, withTransactionAndAwait, withTransactionAndAwait, withTransactionAndForget, withTransactionAndForget
      • Methods inherited from class io.vertx.mutiny.sqlclient.SqlClient

        newInstance, preparedQuery
    • Field Detail

      • __TYPE_ARG

        public static final io.smallrye.mutiny.vertx.TypeArg<JDBCPool> __TYPE_ARG
      • GENERATED_KEYS

        public static final io.vertx.mutiny.sqlclient.PropertyKind<io.vertx.mutiny.sqlclient.Row> GENERATED_KEYS
        The property to be used to retrieve the generated keys
      • OUTPUT

        public static final io.vertx.mutiny.sqlclient.PropertyKind<Boolean> OUTPUT
        The property to be used to retrieve the output of the callable statement
    • Constructor Detail

      • JDBCPool

        public JDBCPool​(io.vertx.jdbcclient.JDBCPool delegate)
      • JDBCPool

        public JDBCPool​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.jdbcclient.JDBCPool getDelegate()
        Overrides:
        getDelegate in class io.vertx.mutiny.sqlclient.Pool
      • toString

        public String toString()
        Overrides:
        toString in class io.vertx.mutiny.sqlclient.Pool
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class io.vertx.mutiny.sqlclient.Pool
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class io.vertx.mutiny.sqlclient.Pool
      • pool

        public static JDBCPool pool​(io.vertx.mutiny.core.Vertx vertx,
                                    io.vertx.jdbcclient.JDBCConnectOptions connectOptions,
                                    io.vertx.sqlclient.PoolOptions poolOptions)
        Parameters:
        vertx - the Vert.x instance
        connectOptions - the options to configure the connection
        poolOptions - the connection pool options
        Returns:
        the client
      • pool

        public static JDBCPool pool​(io.vertx.mutiny.core.Vertx vertx,
                                    io.vertx.core.json.JsonObject config)
        Parameters:
        vertx - the Vert.x instance
        config - the options to configure the client using the same format as JDBCClient
        Returns:
        the client
      • pool

        public static JDBCPool pool​(io.vertx.mutiny.core.Vertx vertx,
                                    io.vertx.ext.jdbc.spi.DataSourceProvider dataSourceProvider)
        Parameters:
        vertx - the Vert.x instance
        dataSourceProvider - the options to configure the client using the same format as JDBCClient
        Returns:
        the client
      • pool

        public static JDBCPool pool​(io.vertx.mutiny.core.Vertx vertx,
                                    DataSource dataSource)
        Parameters:
        vertx - the Vert.x instance
        dataSource - a pre-initialized data source
        Returns:
        the client
      • pool

        public static JDBCPool pool​(io.vertx.mutiny.core.Vertx vertx,
                                    DataSource dataSource,
                                    io.vertx.core.json.JsonObject config)
        Parameters:
        vertx - the Vert.x instance
        dataSource - a pre-initialized data source
        config - the pool configuration
        Returns:
        the client
      • newInstance

        public static JDBCPool newInstance​(io.vertx.jdbcclient.JDBCPool arg)