Package io.vertx.rxjava3.sqlclient
Class SqlClient
- java.lang.Object
- 
- io.vertx.rxjava3.sqlclient.SqlClient
 
- 
- All Implemented Interfaces:
- io.vertx.lang.rx.RxDelegate
 - Direct Known Subclasses:
- Pool,- SqlConnection
 
 public class SqlClient extends Object implements io.vertx.lang.rx.RxDelegate Defines common SQL client operations with a database server.NOTE: This class has been automatically generated from the originalnon RX-ified interface using Vert.x codegen.
- 
- 
Field SummaryFields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<SqlClient>__TYPE_ARG
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Completableclose()Close the client and release the associated resources.booleanequals(Object o)SqlClientgetDelegate()inthashCode()static SqlClientnewInstance(SqlClient arg)PreparedQuery<RowSet<Row>>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<RowSet<Row>>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.Query<RowSet<Row>>query(String sql)Create a query, theQuery.execute()method must be called to execute the query.CompletablerxClose()Close the client and release the associated resources.StringtoString()
 
- 
- 
- 
Field Detail- 
__TYPE_ARGpublic static final io.vertx.lang.rx.TypeArg<SqlClient> __TYPE_ARG 
 
- 
 - 
Method Detail- 
getDelegatepublic SqlClient getDelegate() - Specified by:
- getDelegatein interface- io.vertx.lang.rx.RxDelegate
 
 - 
querypublic Query<RowSet<Row>> query(String sql) Create a query, theQuery.execute()method must be called to execute the query.- Parameters:
- sql-
- Returns:
- the query
 
 - 
preparedQuerypublic PreparedQuery<RowSet<Row>> 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.- Parameters:
- sql-
- Returns:
- the prepared query
 
 - 
preparedQuerypublic PreparedQuery<RowSet<Row>> 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.- Parameters:
- sql-
- options-
- Returns:
- the prepared query
 
 - 
closepublic Completable close() Close the client and release the associated resources.- Returns:
- a future notified once the client is closed
 
 - 
rxClosepublic Completable rxClose() Close the client and release the associated resources.- Returns:
- a future notified once the client is closed
 
 
- 
 
-