public interface MSSQLConnection extends SqlConnection
| Modifier and Type | Method and Description |
|---|---|
static MSSQLConnection |
cast(SqlConnection sqlConnection)
Cast a
SqlConnection to MSSQLConnection. |
MSSQLConnection |
closeHandler(Handler<Void> handler) |
static Future<MSSQLConnection> |
connect(Vertx vertx,
MSSQLConnectOptions connectOptions)
Like
connect(Vertx, MSSQLConnectOptions, Handler) but returns a Future of the asynchronous result |
static void |
connect(Vertx vertx,
MSSQLConnectOptions connectOptions,
Handler<AsyncResult<MSSQLConnection>> handler)
Create a connection to SQL Server with the given
connectOptions. |
MSSQLConnection |
exceptionHandler(Handler<Throwable> handler) |
MSSQLConnection |
prepare(String s,
Handler<AsyncResult<PreparedStatement>> handler) |
begin, begin, close, databaseMetadata, isSSL, prepareclose, 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 resultMSSQLConnection prepare(String s, Handler<AsyncResult<PreparedStatement>> handler)
prepare in interface SqlConnectionMSSQLConnection exceptionHandler(Handler<Throwable> handler)
exceptionHandler in interface SqlConnectionMSSQLConnection closeHandler(Handler<Void> handler)
closeHandler in interface SqlConnectionstatic MSSQLConnection cast(SqlConnection sqlConnection)
SqlConnection to MSSQLConnection.
This is mostly useful for Vert.x generated APIs like RxJava/Mutiny.sqlConnection - the connection to castinstanceCopyright © 2021 Eclipse. All rights reserved.