public class MSSQLPoolImpl extends PoolBase<MSSQLPoolImpl> implements MSSQLPool
metrics, tracer| Modifier and Type | Method and Description |
|---|---|
int |
appendQueryPlaceholder(StringBuilder queryBuilder,
int index,
int current)
Append a parameter placeholder in the
query. |
static MSSQLPoolImpl |
create(ContextInternal context,
boolean closeVertx,
MSSQLConnectOptions connectOptions,
PoolOptions poolOptions) |
protected SqlConnectionImpl |
wrap(ContextInternal context,
Connection connection) |
close, close, close, closeFuture, getConnection, getConnection, promise, promise, schedulepreparedQuery, queryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getConnection, getConnection, pool, pool, pool, preparedQuery, query, withConnection, withConnection, withTransaction, withTransactionpublic static MSSQLPoolImpl create(ContextInternal context, boolean closeVertx, MSSQLConnectOptions connectOptions, PoolOptions poolOptions)
public int appendQueryPlaceholder(StringBuilder queryBuilder, int index, int current)
SqlClientInternalquery.
The index starts at 0.
index == current indicates it is a new parameter and therefore the same
* value should be returned.index < current indicates the builder wants to reuse a parameter.
The implementation can either return the same value to indicate the parameter can be reused or
return the next index to use (which is shall be the current valueappendQueryPlaceholder in interface SqlClientInternalappendQueryPlaceholder in class SqlClientBase<MSSQLPoolImpl>queryBuilder - the builder to append toindex - the parameter placeholder indexprotected SqlConnectionImpl wrap(ContextInternal context, Connection connection)
wrap in class PoolBase<MSSQLPoolImpl>Copyright © 2021. All rights reserved.