Class JDBCConnection
java.lang.Object
io.vertx.reactivex.sqlclient.SqlClient
io.vertx.reactivex.sqlclient.SqlConnection
io.vertx.reactivex.jdbcclient.JDBCConnection
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()static JDBCConnectionrxSetTransactionIsolation(int isolationLevel) setQueryTimeout(int timeoutInSeconds) Sets a connection wide query timeout.setTransactionIsolation(int isolationLevel) toString()Methods inherited from class SqlConnection
begin, closeHandler, databaseMetadata, exceptionHandler, isSSL, newInstance, prepare, prepare, rxBegin, rxPrepare, rxPrepare, transactionMethods inherited from class SqlClient
close, newInstance, preparedQuery, preparedQuery, query, rxClose
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
JDBCConnection
-
JDBCConnection
-
-
Method Details
-
toString
- Overrides:
toStringin classSqlConnection
-
equals
- Overrides:
equalsin classSqlConnection
-
hashCode
public int hashCode()- Overrides:
hashCodein classSqlConnection
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate- Overrides:
getDelegatein classSqlConnection
-
getTransactionIsolation
-
rxGetTransactionIsolation
-
setTransactionIsolation
-
rxSetTransactionIsolation
-
setQueryTimeout
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
-