Package io.vertx.rxjava3.sqlclient
Class SqlClient
java.lang.Object
io.vertx.rxjava3.sqlclient.SqlClient
- All Implemented Interfaces:
RxDelegate
- Direct Known Subclasses:
Pool,SqlConnection
Defines common SQL client operations with a database server.
NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Completableclose()Close the client and release the associated resources.booleaninthashCode()static SqlClientnewInstance(SqlClient arg) preparedQuery(String sql) Create a prepared query, one of theQuery.execute()orPreparedQuery.executeBatch(java.util.List<io.vertx.rxjava3.sqlclient.Tuple>)methods must be called to execute the query.preparedQuery(String sql, PrepareOptions options) Create a prepared query, one of theQuery.execute()orPreparedQuery.executeBatch(java.util.List<io.vertx.rxjava3.sqlclient.Tuple>)methods must be called to execute the query.Create a query, theQuery.execute()method must be called to execute the query.io.reactivex.rxjava3.core.CompletablerxClose()Close the client and release the associated resources.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
SqlClient
-
SqlClient
-
-
Method Details
-
toString
-
equals
-
hashCode
public int hashCode() -
getDelegate
- Specified by:
getDelegatein interfaceRxDelegate
-
query
Create a query, theQuery.execute()method must be called to execute the query.- Parameters:
sql-- Returns:
- the query
-
preparedQuery
Create a prepared query, one of theQuery.execute()orPreparedQuery.executeBatch(java.util.List<io.vertx.rxjava3.sqlclient.Tuple>)methods must be called to execute the query.- Parameters:
sql-- Returns:
- the prepared query
-
preparedQuery
Create a prepared query, one of theQuery.execute()orPreparedQuery.executeBatch(java.util.List<io.vertx.rxjava3.sqlclient.Tuple>)methods must be called to execute the query.- Parameters:
sql-options-- Returns:
- the prepared query
-
close
public io.reactivex.rxjava3.core.Completable close()Close the client and release the associated resources.- Returns:
- a future notified once the client is closed
-
rxClose
public io.reactivex.rxjava3.core.Completable rxClose()Close the client and release the associated resources.- Returns:
- a future notified once the client is closed
-
newInstance
-