public abstract class AbstractJDBCAction<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ContextInternal |
ctx |
protected JDBCStatementHelper |
helper |
protected SQLOptions |
options |
protected Vertx |
vertx |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractJDBCAction(Vertx vertx,
JDBCStatementHelper helper,
SQLOptions options,
ContextInternal ctx) |
protected |
AbstractJDBCAction(Vertx vertx,
SQLOptions options,
ContextInternal ctx) |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
execute(Connection conn) |
void |
execute(Connection conn,
TaskQueue statementsQueue,
Handler<AsyncResult<T>> resultHandler) |
protected abstract String |
name() |
protected final Vertx vertx
protected final SQLOptions options
protected final ContextInternal ctx
protected final JDBCStatementHelper helper
protected AbstractJDBCAction(Vertx vertx, SQLOptions options, ContextInternal ctx)
protected AbstractJDBCAction(Vertx vertx, JDBCStatementHelper helper, SQLOptions options, ContextInternal ctx)
public void execute(Connection conn, TaskQueue statementsQueue, Handler<AsyncResult<T>> resultHandler)
public abstract T execute(Connection conn) throws SQLException
SQLExceptionprotected abstract String name()
Copyright © 2020. All rights reserved.