Class JDBCConnection

All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate

public class JDBCConnection extends SqlConnection implements io.vertx.lang.rx.RxDelegate
  • Field Details

    • __TYPE_ARG

      public static final io.vertx.lang.rx.TypeArg<JDBCConnection> __TYPE_ARG
  • Constructor Details

    • JDBCConnection

      public JDBCConnection(JDBCConnection delegate)
    • JDBCConnection

      public JDBCConnection(Object delegate)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class SqlConnection
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class SqlConnection
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class SqlConnection
    • getDelegate

      public JDBCConnection getDelegate()
      Specified by:
      getDelegate in interface io.vertx.lang.rx.RxDelegate
      Overrides:
      getDelegate in class SqlConnection
    • getTransactionIsolation

      public Single<Integer> getTransactionIsolation()
    • rxGetTransactionIsolation

      public Single<Integer> rxGetTransactionIsolation()
    • setTransactionIsolation

      public Completable setTransactionIsolation(int isolationLevel)
    • rxSetTransactionIsolation

      public Completable rxSetTransactionIsolation(int isolationLevel)
    • setQueryTimeout

      public JDBCConnection setQueryTimeout(int timeoutInSeconds)
      Sets a connection wide query timeout. It can be over-written at any time and becomes active on the next query call.
      Parameters:
      timeoutInSeconds - the max amount of seconds the query can take to execute.
      Returns:
    • newInstance

      public static JDBCConnection newInstance(JDBCConnection arg)