| Modifier and Type | Class and Description |
|---|---|
class |
OptionsDefault
Control various optional behavior for the database interactions.
|
class |
OptionsOverride
Base class for selectively overriding another Options object.
|
| Modifier and Type | Method and Description |
|---|---|
Options |
Database.options() |
Options |
DatabaseImpl.options() |
| Modifier and Type | Method and Description |
|---|---|
static String |
DebugSql.exceptionMessage(String sql,
Object[] parameters,
String errorCode,
Options options) |
static void |
DebugSql.logError(String sqlType,
org.slf4j.Logger log,
Metric metric,
String errorCode,
String sql,
Object[] args,
Options options,
Throwable t) |
static void |
DebugSql.logSuccess(String sqlType,
org.slf4j.Logger log,
Metric metric,
String sql,
Object[] args,
Options options) |
static void |
DebugSql.logWarning(String sqlType,
org.slf4j.Logger log,
Metric metric,
String errorCode,
String sql,
Object[] args,
Options options,
Throwable t) |
static String |
DebugSql.printDebugOnlySqlString(String sql,
Object[] args,
Options options) |
static void |
DebugSql.printSql(StringBuilder buf,
String sql,
Object[] args,
boolean includeExecSql,
boolean includeParameters,
Options options) |
static void |
DebugSql.printSql(StringBuilder buf,
String sql,
Object[] args,
Options options) |
void |
OptionsOverride.setParent(Options parent) |
OptionsOverride |
OptionsOverride.withParent(Options parent) |
| Constructor and Description |
|---|
DatabaseImpl(Connection connection,
Options options) |
DatabaseImpl(DatabaseMock mock,
Options options) |
DatabaseProvider(Supplier<Connection> connectionProvider,
Options options) |
DatabaseProviderVertx(io.vertx.core.WorkerExecutor executor,
Supplier<Connection> connectionProvider,
Options options) |
DdlImpl(Connection connection,
String sql,
Options options) |
OptionsOverride(Options parent)
Wrap another
Options and defer to it for anything we choose not
to override. |
SqlInsertImpl(Connection connection,
DatabaseMock mock,
String sql,
Options options) |
SqlSelectImpl(Connection connection,
DatabaseMock mock,
String sql,
Options options) |
SqlUpdateImpl(Connection connection,
DatabaseMock mock,
String sql,
Options options) |
StatementAdaptor(Options options) |
Copyright © 2020. All rights reserved.