ExecuteContext.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private final ExecuteContext. | |
| private Query[] | |
| private int[] | |
| private String[] | |
| private Connection | |
| pack-priv ConnectionProvider | |
| private final ConverterContext | |
| private final Instant | |
| private final Map | |
| private final Configuration | |
| private RuntimeException | |
| private static final ThreadLocal | |
| private static final ThreadLocal | |
| private static final JooqLogger | |
| private static final JooqLogger | |
| private static final JooqLogger | |
| private final Configuration | |
| private Query | |
| private Record | |
| pack-priv int | |
| private static final ThreadLocal | |
| private Result | |
| pack-priv int | |
| private ResultSet | |
| private final Routine | |
| private int | |
| private String[] | |
| private String | |
| private SQLException | |
| private SQLWarning | |
| private PreparedStatement | |
| private int | |
| private Connection |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | DefaultExecuteContext(Configuration configuration, ExecuteContext.
|
| pack-priv | |
| pack-priv | |
| private | DefaultExecuteContext(Configuration configuration, ExecuteContext.
|
| Modifier and Type | Method and Description |
|---|---|
| public final ExecuteContext. | |
| public final Query[] | batchQueries()
Implements org. Query objects that are being executed in batch mode, or
empty if the query is unknown or if there was no jOOQ Query.
|
| private final void | |
| public final int[] | batchRows()
Implements org. |
| public final String[] | batchSQL()
Implements org. |
| pack-priv static final void | |
| public final Configuration | |
| public final Connection | connection()
Implements org. |
| pack-priv final void | connection(ConnectionProvider provider, Connection c)
Initialise this |
| public final void | connectionProvider(ConnectionProvider provider)
Implements org. Connection that is being used for execution.
|
| public final ConverterContext | converterContext()
Implements org. ConverterContext for the scope of this
ExecuteContext.
|
| public final Instant | creationTime()
Implements org. Configuration#clock(), when this
Scope was created.
|
| public final Map | |
| public final Object | data(Object
A key to identify the custom data key)Implements org. Scope.
|
| public final Object | data(Object
A key to identify the custom data key, Object The custom data value)Implements org. Scope.
|
| public final SQLDialect | |
| public final DSLContext | dsl()
Implements org. configuration() in a DSLContext, providing
access to the configuration-contextual DSL to construct executable
queries.
|
| public final RuntimeException | |
| public final void | exception(RuntimeException e)
Implements org. RuntimeException being thrown.
|
| public final SQLDialect | |
| pack-priv final void | |
| pack-priv static final Connection | |
| pack-priv static final ExecuteContext | |
| pack-priv static final <E extends Exception> void | localExecuteContext(ExecuteContext ctx, ThrowingRunnable<E> runnable)
Run a runnable with a new |
| pack-priv static final <T, E extends Exception> T | localExecuteContext(ExecuteContext ctx, ThrowingSupplier<T, E> supplier)
Run a supplier with a new |
| pack-priv static final Connection | localTargetConnection(Scope scope)
Get the registered connection's "target connection" through
|
| private final void | |
| pack-priv final Configuration | |
| public final Query | query()
Implements org. Query that is being executed, or null if
the query is unknown, if it is a batch query, or if there was no jOOQ
Query.
|
| public final void | |
| public final Record | record()
Implements org. null if no record has been fetched.
|
| public final int | recordLevel()
Implements org. record(), relevant when nested
result events are triggered via
ExecuteListener#resultStart(ExecuteContext) and
ExecuteListener#resultEnd(ExecuteContext), e.g. in the presence
of DSL#multiset(Select).
|
| pack-priv static final void | |
| pack-priv static final void | |
| pack-priv static final void | |
| pack-priv static final void | |
| pack-priv static final void | |
| public final void | |
| public final Result | result()
Implements org. null if no result has been fetched, including when results
do not need to be buffered in a Result type, such as all
ResultQuery#collect(Collector) or ResultQuery#iterator()
based fetches.
|
| public final int | resultLevel()
Implements org. result(), relevant when nested
result events are triggered via
ExecuteListener#resultStart(ExecuteContext) and
ExecuteListener#resultEnd(ExecuteContext), e.g. in the presence
of DSL#multiset(Select).
|
| public final void | resultSet(ResultSet rs)
Implements org. ResultSet that is being fetched.
|
| public final ResultSet | resultSet()
Implements org. ResultSet that is being fetched or null if the
result set is unknown or if no result set is being fetched.
|
| public final Routine | routine()
Implements org. Routine that is being executed or null if
the query is unknown or if there was no jOOQ Routine.
|
| public final int | rows()
Implements org. |
| public final void | |
| public final String[] | serverOutput()
Implements org. .
|
| public final void | serverOutput(String[] output)
Implements org. .
|
| public final Settings | |
| public final void | sql(String s)
Implements org. |
| public final String | sql()
Implements org. null if the SQL statement
is unknown or if there was no SQL statement.
|
| public final SQLException | sqlException()
Implements org. SQLException that was thrown by the database.
|
| public final void | sqlException(SQLException e)
Implements org. SQLException being thrown.
|
| public final SQLWarning | sqlWarning()
Implements org. SQLWarning that was emitted by the database.
|
| public final void | sqlWarning(SQLWarning e)
Implements org. SQLWarning being emitted.
|
| public final void | statement(PreparedStatement s)
Implements org. PreparedStatement that is being executed.
|
| public final PreparedStatement | statement()
Implements org. PreparedStatement that is being executed or null
if the statement is unknown or if there was no statement.
|
| public final int | statementExecutionCount()
Implements org. |
| pack-priv final void | |
| public final ExecuteType | type()
Implements org. |
| pack-priv final DefaultExecuteContext | |
| private final Connection | |
| private final Connection |