| Modifier and Type | Field and Description |
|---|---|
| private final Q |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final Q | |
| public final void | accept(Context<?> context)
Implements org. QueryPart can accept a Context object
in order to render a SQL string or to bind its variables.
|
| public final void | attach(Configuration
A configuration or configuration)null, if you wish to
detach this Attachable from its previous
configuration.Implements org. Configuration.
|
| public final Q | bind(String
The named parameter name. If this is a number, then this is
the same as calling param, Object bind(int, Object)The new bind value. value)Implements org. |
| public final Q | bind(int
The parameter index, starting with 1 index, Object The new bind value. value)Implements org. |
| public final void | |
| public final void | |
| public final Configuration | configuration()
Overrides org. Implements org. Configuration, or null if
no Configuration is attached.
|
| public final void | |
| public final int | execute()
Implements org. |
| public final CompletionStage | |
| public final CompletionStage | executeAsync(Executor executor)
Implements org. CompletionStage that is asynchronously
completed by a task running in the given executor.
|
| public final List | getBindValues()
Implements org. |
| pack-priv final Q | |
| public final Param | getParam(String name)
Implements org.
Deprecated
as a consequence of
Get a named parameter from the Param being deprecated.
Query, provided its name.
|
| public final Map | |
| public final String | getSQL()
Implements org. |
| public final String | getSQL(ParamType
How to render parameters. This overrides values in
paramType)Settings#getStatementType()Implements org. |
| public final boolean | isExecutable()
Implements org. |
| public final Q | keepStatement(boolean
Whether to keep the underlying statement open keepStatement)Implements org. |
| public final Q | poolable(boolean poolable)
Implements org. java. created by this query
should be java..
|
| public final Q | queryTimeout(int timeout)
Implements org. Statement.
|
| delegate | back to summary |
|---|---|
| private final Q delegate | |
| AbstractDelegatingQuery | back to summary |
|---|---|
| pack-priv AbstractDelegatingQuery(Q delegate) | |
| $delegate | back to summary |
|---|---|
| public final Q $delegate() Implements org.
| |
| accept | back to summary |
|---|---|
| public final void accept(Context<?> context) Implements org. Doc from org. This
| |
| attach | back to summary |
|---|---|
| public final void attach(Configuration configuration) Implements org. Doc from org. Attach this object to a new
| |
| bind | back to summary |
|---|---|
| public final Q bind(String param, Object value) Implements org. Doc from org. Bind a new value to a named parameter.
[#1886] If the bind value with name
| |
| bind | back to summary |
|---|---|
| public final Q bind(int index, Object value) Implements org. Doc from org. Bind a new value to an indexed parameter.
[#1886] If the bind value at
| |
| cancel | back to summary |
|---|---|
| public final void cancel() Implements org. Doc from org. Cancel the underlying statement.
This cancels the query's underlying
| |
| close | back to summary |
|---|---|
| public final void close() Implements org. Doc from org. Close the underlying statement.
This closes the query's underlying
| |
| configuration | back to summary |
|---|---|
| public final Configuration configuration() Overrides org. Implements org. Doc from org. Get the currently attached
| |
| detach | back to summary |
|---|---|
| public final void detach() Implements org. Doc from org. Detach this object from its current
This is the same as calling
| |
| execute | back to summary |
|---|---|
| public final int execute() Implements org. Doc from org. Execute the query, if it has been created with a proper configuration.
| |
| executeAsync | back to summary |
|---|---|
| public final CompletionStage Implements org. Doc from org. Execute the query in a new
The result is asynchronously completed by a task running in an
| |
| executeAsync | back to summary |
|---|---|
| public final CompletionStage Implements org. Doc from org. Execute the query in a new
| |
| getBindValues | back to summary |
|---|---|
| public final List Implements org. Doc from org. Retrieve the bind values that will be bound by this Query.
Unlike
| |
| getDelegate | back to summary |
|---|---|
| pack-priv final Q getDelegate() | |
| getParam | back to summary |
|---|---|
| public final Param Implements org. Doc from org. Deprecated as a consequence of Get a named parameter from the
Bind values created with
| |
| getParams | back to summary |
|---|---|
| public final Map Implements org. Doc from org. Get a
Bind values created with
| |
| getSQL | back to summary | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| public final String getSQL() Implements org. Doc from org. Retrieve the SQL code rendered by this Query. Use this method, when you want to use jOOQ for object oriented query creation, but execute the query with some other technology, such as
Note, this is the same as calling
[#1520] Note that the query actually being executed might not contain any
bind variables, in case the number of bind variables exceeds your SQL
dialect's maximum number of supported bind variables. This is not
reflected by this method, which will only use the
| ||||||||||
| getSQL | back to summary |
|---|---|
| public final String getSQL(ParamType paramType) Implements org. Doc from org. Retrieve the SQL code rendered by this Query.
[#1520] Note that the query actually being executed might not contain any
bind variables, in case the number of bind variables exceeds your SQL
dialect's maximum number of supported bind variables. This is not
reflected by this method, which will only use
See
| |
| isExecutable | back to summary |
|---|---|
| public final boolean isExecutable() Implements org. Doc from org. Whether this query is executable in its current state.
DML queries may be incomplete in structure and thus not executable.
Calling
| |
| keepStatement | back to summary |
|---|---|
| public final Q keepStatement(boolean keepStatement) Implements org. Doc from org. Keep the query's underlying statement open after execution.
This indicates to jOOQ that the query's underlying
| |
| poolable | back to summary |
|---|---|
| public final Q poolable(boolean poolable) Implements org. Doc from org. Specify whether any JDBC If this method is not called on jOOQ types, then jOOQ will not specify the flag on JDBC either, resulting in JDBC's default behaviour.
| |
| queryTimeout | back to summary |
|---|---|
| public final Q queryTimeout(int timeout) Implements org. Doc from org. Specify the query timeout in number of seconds for the underlying JDBC
| |