Result
| Modifier and Type | Field and Description |
|---|---|
| private transient boolean | |
| private Collection | |
| private Table | |
| private transient Cursor | |
| private int | |
| private final Intern | |
| private transient boolean | |
| private static final JooqLogger | |
| private transient boolean | |
| private int | |
| private static final Set | |
| private Result | |
| private ResultsImpl | |
| private int | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final CloseableResultQuery | 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)Overrides org. Implements org. |
| public final CloseableResultQuery | bind(int
The parameter index, starting with 1 index, Object The new bind value. value)Overrides org. Implements org. |
| pack-priv final Collection | |
| public final <X extends Record> CloseableResultQuery | coerce(Table<X> table)
Implements org. |
| public final CloseableResultQuery | coerce(Collection<? extends Field<?>> fields)
Implements org. |
| protected final int | execute(ExecuteContext ctx, ExecuteListener listener)
Overrides org. |
| public final Result | |
| public final Cursor | fetchLazy()
Overrides default org. |
| public final Cursor | fetchLazyNonAutoClosing()
Overrides default org. Cursor internally in
jOOQ, then the cursor must not be auto-closed.
|
| public final Results | fetchMany()
Overrides default org. |
| public final CloseableResultQuery | fetchSize(int rows)
Implements org. Statement.
|
| pack-priv final int | |
| public final Class | getRecordType()
Implements org. |
| pack-priv abstract Class | |
| public final Result | getResult()
Implements org. |
| public final CloseableResultQuery | intern(Field<?>...
The fields whose values should be interned fields)Implements org.
Deprecated
as a consequence of
Specify a set of fields whose values should be interned.
Field being deprecated.
|
| public final CloseableResultQuery | intern(int...
The field indexes whose values should be interned fieldIndexes)Implements org. |
| public final CloseableResultQuery | intern(String...
The field names whose values should be interned fieldNameStrings)Implements org. |
| public final CloseableResultQuery | intern(Name...
The field names whose values should be interned fieldNames)Implements org. |
| protected final boolean | keepResultSet()
Overrides org. ResultSet after execution.
|
| public final CloseableResultQuery | keepStatement(boolean
Whether to keep the underlying statement open k)Overrides org. Implements org. |
| public final CloseableResultQuery | maxRows(int rows)
Implements org. Statement.
|
| public final CloseableResultQuery | poolable(boolean poolable)
Overrides org. Implements org. java. created by this query
should be java..
|
| protected final void | prepare(ExecuteContext ctx)
Overrides org. |
| public final CloseableResultQuery | queryTimeout(int timeout)
Overrides org. Implements org. Statement.
|
| public final CloseableResultQuery | resultSetConcurrency(int concurrency)
Implements org. ResultSet concurrency of ResultSet
objects created by jOOQ.
|
| public final CloseableResultQuery | resultSetHoldability(int holdability)
Implements org. ResultSet holdability of ResultSet
objects created by jOOQ.
|
| public final CloseableResultQuery | resultSetType(int type)
Implements org. ResultSet type of ResultSet objects
created by jOOQ.
|
| autoclosing | back to summary |
|---|---|
| private transient boolean autoclosing | |
| coerceFields | back to summary |
|---|---|
| private Collection<? extends Field<?>> coerceFields | |
| coerceTable | back to summary |
|---|---|
| private Table<?> coerceTable | |
| cursor | back to summary |
|---|---|
| private transient Cursor<R> cursor | |
| fetchSize | back to summary |
|---|---|
| private int fetchSize | |
| intern | back to summary |
|---|---|
| private final Intern intern | |
| lazy | back to summary |
|---|---|
| private transient boolean lazy | |
| log | back to summary |
|---|---|
| private static final JooqLogger log | |
| many | back to summary |
|---|---|
| private transient boolean many | |
| maxRows | back to summary |
|---|---|
| private int maxRows | |
| REPORT_FETCH_SIZE_WITH_AUTOCOMMIT | back to summary |
|---|---|
| private static final Set<SQLDialect> REPORT_FETCH_SIZE_WITH_AUTOCOMMIT | |
| result | back to summary |
|---|---|
| private Result<R> result | |
| results | back to summary |
|---|---|
| private ResultsImpl results | |
| resultSetConcurrency | back to summary |
|---|---|
| private int resultSetConcurrency | |
| resultSetHoldability | back to summary |
|---|---|
| private int resultSetHoldability | |
| resultSetType | back to summary |
|---|---|
| private int resultSetType | |
| AbstractResultQuery | back to summary |
|---|---|
| pack-priv AbstractResultQuery(Configuration configuration) | |
| bind | back to summary |
|---|---|
| public final CloseableResultQuery Overrides org. 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 CloseableResultQuery Overrides org. Implements org. Doc from org. Bind a new value to an indexed parameter.
[#1886] If the bind value at
| |
| coerce | back to summary |
|---|---|
| pack-priv final Collection | |
| coerce | back to summary |
|---|---|
| public final <X extends Record> CloseableResultQuery Implements org. Doc from org. Coerce the result record type of this query to that of a table.
| |
| coerce | back to summary |
|---|---|
| public final CloseableResultQuery Implements org. Doc from org. Coerce the result record type of this query to that of a set of fields.
| |
| execute | back to summary |
|---|---|
| protected final int execute(ExecuteContext ctx, ExecuteListener listener) throws SQLException Overrides org. Doc from org. Default implementation for query execution using a prepared statement. Subclasses may override this method.
| |
| fetch | back to summary |
|---|---|
| public final Result Implements org. Doc from org. Execute the query and return the generated result.
The result and its contained records are attached to the original
Lifecycle guaranteesThis method completes the wholeConnectionProvider and ExecuteListener lifecycles,
eagerly fetching all results into memory. Underlying JDBC
ResultSets are always closed. Underlying JDBC
PreparedStatements are closed, unless
ResultQuery#keepStatement(boolean) is set.
In order to keep open
This method is not affected by
| |
| fetchLazy | back to summary |
|---|---|
| public final Cursor Overrides default org. Doc from org. Execute the query and "lazily" return the generated result.
The returned
Depending on your JDBC driver's default behaviour, this may load the
whole database result into the driver's memory. In order to indicate to
the driver that you may not want to fetch all records at once, use
Client code is responsible for closing the cursor after use. | |
| fetchLazyNonAutoClosing | back to summary |
|---|---|
| public final Cursor Overrides default org. When we manage the lifecycle of a returned
| |
| fetchMany | back to summary |
|---|---|
| public final Results fetchMany() Overrides default org. Doc from org. Execute a query, possibly returning several result sets. Example (Sybase ASE):
The result and its contained records are attached to the original
| |
| fetchSize | back to summary |
|---|---|
| public final CloseableResultQuery Implements org. Doc from org. Specify the fetch size of the underlying
Regardless of this setting, Dialect-specific remarks:
| |
| fetchSize | back to summary |
|---|---|
| pack-priv final int fetchSize() | |
| getRecordType | back to summary |
|---|---|
| public final Class Implements org. Doc from org. The record type produced by this query.
| |
| getRecordType0 | back to summary |
|---|---|
| pack-priv abstract Class | |
| getResult | back to summary |
|---|---|
| public final Result Implements org. Doc from org. Return the result generated by a previous call to execute(). | |
| intern | back to summary |
|---|---|
| public final CloseableResultQuery Implements org. Doc from org. Deprecated as a consequence of Specify a set of fields whose values should be interned.
Unlike
| |
| intern | back to summary |
|---|---|
| public final CloseableResultQuery Implements org. Doc from org. Specify a set of field indexes whose values should be interned.
Unlike
| |
| intern | back to summary |
|---|---|
| public final CloseableResultQuery Implements org. Doc from org. Specify a set of field names whose values should be interned.
Unlike
| |
| intern | back to summary |
|---|---|
| public final CloseableResultQuery Implements org. Doc from org. Specify a set of field names whose values should be interned.
Unlike
| |
| keepResultSet | back to summary |
|---|---|
| protected final boolean keepResultSet() Overrides org. Doc from org. Default implementation to indicate whether this query should close the
| |
| keepStatement | back to summary |
|---|---|
| public final CloseableResultQuery Overrides org. Implements org. Doc from org. Keep the query's underlying statement open after execution.
This indicates to jOOQ that the query's underlying
| |
| maxRows | back to summary |
|---|---|
| public final CloseableResultQuery Implements org. Doc from org. Specify the maximum number of rows returned by the underlying
This is not the same as setting a
| |
| poolable | back to summary |
|---|---|
| public final CloseableResultQuery Overrides org. 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.
| |
| prepare | back to summary |
|---|---|
| protected final void prepare(ExecuteContext ctx) throws SQLException Overrides org. Doc from org. Default implementation for preparing a statement. Subclasses may override this method.
| |
| queryTimeout | back to summary |
|---|---|
| public final CloseableResultQuery Overrides org. Implements org. Doc from org. Specify the query timeout in number of seconds for the underlying JDBC
| |
| resultSetConcurrency | back to summary |
|---|---|
| public final CloseableResultQuery Implements org. Doc from org. Specify the
This will affect the way you may perceive
| |
| resultSetHoldability | back to summary |
|---|---|
| public final CloseableResultQuery Implements org. Doc from org. Specify the
This will affect the way you may perceive
| |
| resultSetType | back to summary |
|---|---|
| public final CloseableResultQuery Implements org. Doc from org. Specify the
This will affect the way you may perceive
| |