Class SqlClient
java.lang.Object
io.vertx.reactivex.sqlclient.SqlClient
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
- Direct Known Subclasses:
Pool, SqlConnection
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclose()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(List)methods must be called to execute the query.preparedQuery(String sql, PrepareOptions options) Create a prepared query, one of theQuery.execute()orPreparedQuery.executeBatch(List)methods must be called to execute the query.Create a query, theQuery.execute()method must be called to execute the query.rxClose()Close the client and release the associated resources.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
SqlClient
-
SqlClient
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
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(List)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(List)methods must be called to execute the query.- Parameters:
sql-options-- Returns:
- the prepared query
-
close
-
rxClose
Close the client and release the associated resources.- Returns:
- a future notified once the client is closed
-
newInstance
-