public abstract class SqlConnectionBase<C extends SqlClient> extends SqlClientBase<C>
| Modifier and Type | Field and Description |
|---|---|
protected Connection |
conn |
protected ContextInternal |
context |
metrics, tracer| Modifier | Constructor and Description |
|---|---|
protected |
SqlConnectionBase(ContextInternal context,
Connection conn,
QueryTracer tracer,
ClientMetrics metrics) |
| Modifier and Type | Method and Description |
|---|---|
Future<PreparedStatement> |
prepare(String sql) |
C |
prepare(String sql,
Handler<AsyncResult<PreparedStatement>> handler) |
appendQueryPlaceholder, preparedQuery, promise, promise, queryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitscheduleprotected final ContextInternal context
protected final Connection conn
protected SqlConnectionBase(ContextInternal context, Connection conn, QueryTracer tracer, ClientMetrics metrics)
public C prepare(String sql, Handler<AsyncResult<PreparedStatement>> handler)
public Future<PreparedStatement> prepare(String sql)
Copyright © 2021. All rights reserved.