public interface MSSQLConnection extends SqlConnection
| Modifier and Type | Method and Description | 
|---|---|
| static MSSQLConnection | cast(SqlConnection sqlConnection)Cast a  SqlConnectiontoMSSQLConnection. | 
| MSSQLConnection | closeHandler(Handler<Void> handler)Set an handler called when the connection is closed. | 
| static Future<MSSQLConnection> | connect(Vertx vertx,
       MSSQLConnectOptions connectOptions)Like  connect(Vertx, MSSQLConnectOptions, Handler)but returns aFutureof the asynchronous result | 
| static void | connect(Vertx vertx,
       MSSQLConnectOptions connectOptions,
       Handler<AsyncResult<MSSQLConnection>> handler)Create a connection to SQL Server with the given  connectOptions. | 
| static Future<MSSQLConnection> | connect(Vertx vertx,
       String connectionUri)Like  connect(Vertx, String, Handler)but returns aFutureof the asynchronous result | 
| static void | connect(Vertx vertx,
       String connectionUri,
       Handler<AsyncResult<MSSQLConnection>> handler)Like  connect(Vertx, MSSQLConnectOptions, Handler)with options built fromconnectionUri. | 
| MSSQLConnection | exceptionHandler(Handler<Throwable> handler)Set an handler called with connection errors. | 
| MSSQLConnection | infoHandler(Handler<MSSQLInfo> handler)Set a handler called when the connection receives an informational message from the server. | 
| MSSQLConnection | prepare(String s,
       Handler<AsyncResult<PreparedStatement>> handler)Create a prepared statement using the given  sqlstring. | 
begin, begin, close, databaseMetadata, isSSL, prepare, prepare, prepare, transactionclose, preparedQuery, preparedQuery, querystatic void connect(Vertx vertx, MSSQLConnectOptions connectOptions, Handler<AsyncResult<MSSQLConnection>> handler)
connectOptions.vertx - the vertx instanceconnectOptions - the options for the connectionhandler - the handler called with the connection or the failurestatic Future<MSSQLConnection> connect(Vertx vertx, MSSQLConnectOptions connectOptions)
connect(Vertx, MSSQLConnectOptions, Handler) but returns a Future of the asynchronous resultstatic void connect(Vertx vertx, String connectionUri, Handler<AsyncResult<MSSQLConnection>> handler)
connect(Vertx, MSSQLConnectOptions, Handler) with options built from connectionUri.static Future<MSSQLConnection> connect(Vertx vertx, String connectionUri)
connect(Vertx, String, Handler) but returns a Future of the asynchronous resultMSSQLConnection prepare(String s, Handler<AsyncResult<PreparedStatement>> handler)
sql string.prepare in interface SqlConnections - the sqlhandler - the handler notified with the prepared query asynchronouslyMSSQLConnection exceptionHandler(Handler<Throwable> handler)
exceptionHandler in interface SqlConnectionhandler - the handlerMSSQLConnection closeHandler(Handler<Void> handler)
closeHandler in interface SqlConnectionhandler - the handlerMSSQLConnection infoHandler(Handler<MSSQLInfo> handler)
handler - the handlerstatic MSSQLConnection cast(SqlConnection sqlConnection)
SqlConnection to MSSQLConnection.
 This is mostly useful for Vert.x generated APIs like RxJava/Mutiny.sqlConnection - the connection to castinstanceCopyright © 2024 Eclipse. All rights reserved.