public class MSSQLConnection extends SqlConnection
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<MSSQLConnection> |
__TYPE_ARG |
| Constructor and Description |
|---|
MSSQLConnection(MSSQLConnection delegate) |
MSSQLConnection(Object delegate) |
| Modifier and Type | Method and Description |
|---|---|
static MSSQLConnection |
cast(SqlConnection sqlConnection)
Cast a to
MSSQLConnection. |
MSSQLConnection |
closeHandler(Handler<Void> handler)
Set an handler called when the connection is closed.
|
static Single<MSSQLConnection> |
connect(Vertx vertx,
MSSQLConnectOptions connectOptions)
Create a connection to SQL Server with the given
connectOptions. |
static Single<MSSQLConnection> |
connect(Vertx vertx,
String connectionUri)
Like
connect(io.vertx.rxjava3.core.Vertx, io.vertx.mssqlclient.MSSQLConnectOptions) with options built from connectionUri. |
boolean |
equals(Object o) |
MSSQLConnection |
exceptionHandler(Handler<Throwable> handler)
Set an handler called with connection errors.
|
MSSQLConnection |
getDelegate() |
int |
hashCode() |
MSSQLConnection |
infoHandler(Handler<MSSQLInfo> handler)
Set a handler called when the connection receives an informational message from the server.
|
static MSSQLConnection |
newInstance(MSSQLConnection arg) |
Single<PreparedStatement> |
prepare(String s)
Create a prepared statement using the given
sql string. |
static Single<MSSQLConnection> |
rxConnect(Vertx vertx,
MSSQLConnectOptions connectOptions)
Create a connection to SQL Server with the given
connectOptions. |
static Single<MSSQLConnection> |
rxConnect(Vertx vertx,
String connectionUri)
Like
connect(io.vertx.rxjava3.core.Vertx, io.vertx.mssqlclient.MSSQLConnectOptions) with options built from connectionUri. |
Single<PreparedStatement> |
rxPrepare(String s)
Create a prepared statement using the given
sql string. |
String |
toString() |
begin, close, databaseMetadata, isSSL, newInstance, prepare, rxBegin, rxClose, rxPrepare, transactionnewInstance, preparedQuery, preparedQuery, querypublic static final io.vertx.lang.rx.TypeArg<MSSQLConnection> __TYPE_ARG
public MSSQLConnection(MSSQLConnection delegate)
public MSSQLConnection(Object delegate)
public String toString()
toString in class SqlConnectionpublic boolean equals(Object o)
equals in class SqlConnectionpublic int hashCode()
hashCode in class SqlConnectionpublic MSSQLConnection getDelegate()
getDelegate in class SqlConnectionpublic static Single<MSSQLConnection> connect(Vertx vertx, MSSQLConnectOptions connectOptions)
connectOptions.vertx - the vertx instanceconnectOptions - the options for the connectionpublic static Single<MSSQLConnection> rxConnect(Vertx vertx, MSSQLConnectOptions connectOptions)
connectOptions.vertx - the vertx instanceconnectOptions - the options for the connectionpublic static Single<MSSQLConnection> connect(Vertx vertx, String connectionUri)
connect(io.vertx.rxjava3.core.Vertx, io.vertx.mssqlclient.MSSQLConnectOptions) with options built from connectionUri.vertx - connectionUri - public static Single<MSSQLConnection> rxConnect(Vertx vertx, String connectionUri)
connect(io.vertx.rxjava3.core.Vertx, io.vertx.mssqlclient.MSSQLConnectOptions) with options built from connectionUri.vertx - connectionUri - public Single<PreparedStatement> prepare(String s)
SqlConnectionsql string.prepare in class SqlConnections - public Single<PreparedStatement> rxPrepare(String s)
SqlConnectionsql string.rxPrepare in class SqlConnections - public MSSQLConnection exceptionHandler(Handler<Throwable> handler)
SqlConnectionexceptionHandler in class SqlConnectionhandler - public MSSQLConnection closeHandler(Handler<Void> handler)
SqlConnectioncloseHandler in class SqlConnectionhandler - public MSSQLConnection infoHandler(Handler<MSSQLInfo> handler)
handler - the handlerpublic static MSSQLConnection cast(SqlConnection sqlConnection)
MSSQLConnection.
This is mostly useful for Vert.x generated APIs like RxJava/Mutiny.sqlConnection - the connection to castinstancepublic static MSSQLConnection newInstance(MSSQLConnection arg)
Copyright © 2024 Eclipse. All rights reserved.