Top Description Fields Constructors Methods
org.jooq.impl

pack-priv abstract Class AbstractDMLQueryAsResultQuery<R extends org.jooq.Record, Q extends org.jooq.impl.AbstractDMLQuery<R>>

extends AbstractQueryPart
implements ResultQueryTrait<R extends Record>
Class Inheritance
All Implemented Interfaces
org.jooq.impl.ResultQueryTrait, org.jooq.impl.FieldsTrait, org.jooq.Fields, org.jooq.impl.Mappable, org.jooq.CloseableResultQuery, org.jooq.CloseableQuery, java.lang.AutoCloseable, org.jooq.Query, org.jooq.AttachableQueryPart, org.jooq.QueryPart, java.io.Serializable, org.jooq.Attachable, org.jooq.Statement, org.jooq.ResultQuery, org.jooq.Publisher, java.util.concurrent.Flow.Publisher, org.reactivestreams.Publisher, java.lang.Iterable, org.jooq.QueryPartInternal
Known Direct Subclasses
org.jooq.impl.UpdateAsResultQuery, org.jooq.impl.InsertAsResultQuery, org.jooq.impl.DeleteAsResultQuery
Static Imports
org.jooq.impl.Tools.EMPTY_FIELD

A wrapped DML query (Insert, Update, Delete) that works like a ResultQuery.
Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
pack-priv Collection<? extends Field<?>>
pack-priv Table<?>
pack-priv final Q
pack-priv final boolean

Constructor Summary

AccessConstructor and Description
pack-priv
AbstractDMLQueryAsResultQuery(Q delegate, boolean returningResult)

Method Summary

Modifier and TypeMethod and Description
public final void
accept(Context<?> ctx)

Implements org.jooq.QueryPartInternal.accept.

This 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 null, if you wish to detach this Attachable from its previous configuration.
configuration
)

Implements org.jooq.Attachable.attach.

Attach this object to a new Configuration.
public final CloseableResultQuery<R>
bind(String
The named parameter name. If this is a number, then this is the same as calling bind(int, Object)
param
,
Object
The new bind value.
value
)

Implements org.jooq.CloseableResultQuery.bind.

Bind a new value to a named parameter.
public final CloseableResultQuery<R>
bind(int
The parameter index, starting with 1
index
,
Object
The new bind value.
value
)

Implements org.jooq.CloseableResultQuery.bind.

Bind a new value to an indexed parameter.
public final void
cancel()

Implements org.jooq.Query.cancel.

Cancel the underlying statement.
public final void
close()

Implements org.jooq.CloseableQuery.close.

Close the underlying statement.
public final <X extends Record> CloseableResultQuery<X>
coerce(Table<X> table)

Implements org.jooq.CloseableResultQuery.coerce.

Coerce the result record type of this query to that of a table.
public final CloseableResultQuery<Record>
coerce(Collection<? extends Field<?>> fields)

Implements org.jooq.CloseableResultQuery.coerce.

Coerce the result record type of this query to that of a set of fields.
public final Configuration
configuration()

Overrides org.jooq.impl.AbstractQueryPart.configuration.

Implements org.jooq.Attachable.configuration.

Get the currently attached Configuration, or null if no Configuration is attached.
public final void
detach()

Implements org.jooq.Attachable.detach.

Detach this object from its current Configuration.
public final int
execute()

Implements org.jooq.Query.execute.

Execute the query, if it has been created with a proper configuration.
public final CompletionStage<Integer>
executeAsync()

Implements org.jooq.Query.executeAsync.

Execute the query in a new CompletionStage.
public final CompletionStage<Integer>
executeAsync(Executor executor)

Implements org.jooq.Query.executeAsync.

Execute the query in a new CompletionStage that is asynchronously completed by a task running in the given executor.
public final Result<R>
fetch()

Implements org.jooq.ResultQuery.fetch.

Execute the query and return the generated result.
public final CloseableResultQuery<R>
fetchSize(int rows)

Implements org.jooq.CloseableResultQuery.fetchSize.

Specify the fetch size of the underlying Statement.
public final List<Object>
getBindValues()

Implements org.jooq.AttachableQueryPart.getBindValues.

Retrieve the bind values that will be bound by this Query.
pack-priv final Q
public final Field<?>[]
getFields(ThrowingSupplier<? extends ResultSetMetaData, SQLException> rs)

Overrides default org.jooq.impl.ResultQueryTrait.getFields.

Deprecated as a consequence of Field being deprecated.
Get a list of fields provided a result set.
public final Field<?>[]
getFields()

Implements org.jooq.impl.ResultQueryTrait.getFields.

Deprecated as a consequence of Field being deprecated.
Get a list of fields if we don't have a result set.
public final Param<?>
getParam(String name)

Implements org.jooq.AttachableQueryPart.getParam.

Deprecated as a consequence of Param being deprecated.
Get a named parameter from the Query, provided its name.
public final Map<String, Param<?>>
getParams()

Implements org.jooq.AttachableQueryPart.getParams.

Get a Map of named parameters.
public final Class<? extends R>
getRecordType()

Implements org.jooq.ResultQuery.getRecordType.

The record type produced by this query.
public final Result<R>
getResult()

Implements org.jooq.ResultQuery.getResult.

Return the result generated by a previous call to execute().
public final String
getSQL()

Implements org.jooq.AttachableQueryPart.getSQL.

Retrieve the SQL code rendered by this Query.
public final String
getSQL(ParamType
How to render parameters. This overrides values in Settings#getStatementType()
paramType
)

Implements org.jooq.AttachableQueryPart.getSQL.

Retrieve the SQL code rendered by this Query.
public final CloseableResultQuery<R>
intern(Field<?>...
The fields whose values should be interned
fields
)

Implements org.jooq.CloseableResultQuery.intern.

Deprecated as a consequence of Field being deprecated.
Specify a set of fields whose values should be interned.
public final CloseableResultQuery<R>
intern(int...
The field indexes whose values should be interned
fieldIndexes
)

Implements org.jooq.CloseableResultQuery.intern.

Specify a set of field indexes whose values should be interned.
public final CloseableResultQuery<R>
intern(String...
The field names whose values should be interned
fieldNames
)

Implements org.jooq.CloseableResultQuery.intern.

Specify a set of field names whose values should be interned.
public final CloseableResultQuery<R>
intern(Name...
The field names whose values should be interned
fieldNames
)

Implements org.jooq.CloseableResultQuery.intern.

Specify a set of field names whose values should be interned.
public final boolean
isExecutable()

Implements org.jooq.Query.isExecutable.

Whether this query is executable in its current state.
public final CloseableResultQuery<R>
keepStatement(boolean
Whether to keep the underlying statement open
keepStatement
)

Implements org.jooq.CloseableResultQuery.keepStatement.

Keep the query's underlying statement open after execution.
public final CloseableResultQuery<R>
maxRows(int rows)

Implements org.jooq.CloseableResultQuery.maxRows.

Specify the maximum number of rows returned by the underlying Statement.
public final CloseableResultQuery<R>
poolable(boolean poolable)

Implements org.jooq.CloseableResultQuery.poolable.

Specify whether any JDBC java.sql.Statement created by this query should be java.sql.Statement#setPoolable(boolean).
public final CloseableResultQuery<R>
queryTimeout(int timeout)

Implements org.jooq.CloseableResultQuery.queryTimeout.

Specify the query timeout in number of seconds for the underlying JDBC Statement.
public final CloseableResultQuery<R>
resultSetConcurrency(int resultSetConcurrency)

Implements org.jooq.CloseableResultQuery.resultSetConcurrency.

Specify the ResultSet concurrency of ResultSet objects created by jOOQ.
public final CloseableResultQuery<R>
resultSetHoldability(int resultSetHoldability)

Implements org.jooq.CloseableResultQuery.resultSetHoldability.

Specify the ResultSet holdability of ResultSet objects created by jOOQ.
public final CloseableResultQuery<R>
resultSetType(int resultSetType)

Implements org.jooq.CloseableResultQuery.resultSetType.

Specify the ResultSet type of ResultSet objects created by jOOQ.
Inherited from org.jooq.impl.AbstractQueryPart:
clausescreatecreatecreatedeclaresCTEdeclaresFieldsdeclaresTablesdeclaresWindowsequalsgeneratesCasthashCoderendersContenttoStringtranslate

Field Detail

coerceFieldsback to summary
pack-priv Collection<? extends Field<?>> coerceFields
coerceTableback to summary
pack-priv Table<?> coerceTable
delegateback to summary
pack-priv final Q delegate
returningResultback to summary
pack-priv final boolean returningResult

Constructor Detail

AbstractDMLQueryAsResultQueryback to summary
pack-priv AbstractDMLQueryAsResultQuery(Q delegate, boolean returningResult)

Method Detail

acceptback to summary
public final void accept(Context<?> ctx)

Implements org.jooq.QueryPartInternal.accept.

Doc from org.jooq.QueryPartInternal.accept.

This QueryPart can accept a Context object in order to render a SQL string or to bind its variables.

Annotations
@Override
attachback to summary
public final void attach(Configuration configuration)

Implements org.jooq.Attachable.attach.

Doc from org.jooq.Attachable.attach.

Attach this object to a new Configuration.

Parameters
configuration:Configuration

A configuration or null, if you wish to detach this Attachable from its previous configuration.

Annotations
@Override
bindback to summary
public final CloseableResultQuery<R> bind(String param, Object value) throws IllegalArgumentException, DataTypeException

Implements org.jooq.CloseableResultQuery.bind.

Doc from org.jooq.Query.bind.

Bind a new value to a named parameter.

[#1886] If the bind value with name param is inlined ( Param#isInline()) or if this query was created with StatementType#STATIC_STATEMENT and there is an underlying PreparedStatement kept open because of keepStatement(boolean), the underlying PreparedStatement will be closed automatically in order for new bind values to have an effect.

Parameters
param:String

The named parameter name. If this is a number, then this is the same as calling bind(int, Object)

value:Object

The new bind value.

Annotations
@Override
Exceptions
IllegalArgumentException:
if there is no parameter by the given parameter name or index.
DataTypeException:
if value cannot be converted into the parameter's data type
bindback to summary
public final CloseableResultQuery<R> bind(int index, Object value) throws IllegalArgumentException, DataTypeException

Implements org.jooq.CloseableResultQuery.bind.

Doc from org.jooq.Query.bind.

Bind a new value to an indexed parameter.

[#1886] If the bind value at index is inlined ( Param#isInline()) or if this query was created with StatementType#STATIC_STATEMENT and there is an underlying PreparedStatement kept open because of keepStatement(boolean), the underlying PreparedStatement will be closed automatically in order for new bind values to have an effect.

Parameters
index:int

The parameter index, starting with 1

value:Object

The new bind value.

Annotations
@Override
Exceptions
IllegalArgumentException:
if there is no parameter by the given parameter index.
DataTypeException:
if value cannot be converted into the parameter's data type
cancelback to summary
public final void cancel() throws DataAccessException

Implements org.jooq.Query.cancel.

Doc from org.jooq.Query.cancel.

Cancel the underlying statement.

This cancels the query's underlying Statement or PreparedStatement. If there is no underlying open and running statement, this call is simply ignored.

Annotations
@Override
Exceptions
DataAccessException:
If something went wrong cancelling the statement
closeback to summary
public final void close() throws DataAccessException

Implements org.jooq.CloseableQuery.close.

Doc from org.jooq.CloseableQuery.close.

Close the underlying statement.

This closes the query's underlying Statement or PreparedStatement if a previous call to keepStatement(boolean) indicated that jOOQ should keep statements open after query execution. If there is no underlying open statement, this call is simply ignored.

Annotations
@Override
Exceptions
DataAccessException:
If something went wrong closing the statement
coerceback to summary
public final <X extends Record> CloseableResultQuery<X> coerce(Table<X> table)

Implements org.jooq.CloseableResultQuery.coerce.

Doc from org.jooq.ResultQuery.coerce.

Coerce the result record type of this query to that of a table.

Annotations
@Override
coerceback to summary
public final CloseableResultQuery<Record> coerce(Collection<? extends Field<?>> fields)

Implements org.jooq.CloseableResultQuery.coerce.

Doc from org.jooq.ResultQuery.coerce.

Coerce the result record type of this query to that of a set of fields.

Annotations
@Override
configurationback to summary
public final Configuration configuration()

Overrides org.jooq.impl.AbstractQueryPart.configuration.

Implements org.jooq.Attachable.configuration.

Doc from org.jooq.Attachable.configuration.

Get the currently attached Configuration, or null if no Configuration is attached.

Annotations
@Override
detachback to summary
public final void detach()

Implements org.jooq.Attachable.detach.

Doc from org.jooq.Attachable.detach.

Detach this object from its current Configuration.

This is the same as calling attach(null).

Annotations
@Override
executeback to summary
public final int execute() throws DataAccessException

Implements org.jooq.Query.execute.

Doc from org.jooq.Query.execute.

Execute the query, if it has been created with a proper configuration.

Returns:int

A result value, depending on the concrete implementation of Query:

  • Delete : the number of deleted records
  • Insert : the number of inserted records
  • Merge : the result may have no meaning
  • Select : the number of resulting records
  • Truncate : the result may have no meaning
  • Update : the number of updated records
Annotations
@Override
Exceptions
DataAccessException:
If anything goes wrong in the database
executeAsyncback to summary
public final CompletionStage<Integer> executeAsync()

Implements org.jooq.Query.executeAsync.

Doc from org.jooq.Query.executeAsync.

Execute the query in a new CompletionStage.

The result is asynchronously completed by a task running in an Executor provided by the underlying Configuration#executorProvider().

Returns:CompletionStage<Integer>

A result value, depending on the concrete implementation of Query:

  • Delete : the number of deleted records
  • Insert : the number of inserted records
  • Merge : the result may have no meaning
  • Select : the number of resulting records
  • Truncate : the result may have no meaning
  • Update : the number of updated records
Annotations
@Override
executeAsyncback to summary
public final CompletionStage<Integer> executeAsync(Executor executor)

Implements org.jooq.Query.executeAsync.

Doc from org.jooq.Query.executeAsync.

Execute the query in a new CompletionStage that is asynchronously completed by a task running in the given executor.

Returns:CompletionStage<Integer>

A result value, depending on the concrete implementation of Query:

  • Delete : the number of deleted records
  • Insert : the number of inserted records
  • Merge : the result may have no meaning
  • Select : the number of resulting records
  • Truncate : the result may have no meaning
  • Update : the number of updated records
Annotations
@Override
fetchback to summary
public final Result<R> fetch()

Implements org.jooq.ResultQuery.fetch.

Doc from org.jooq.ResultQuery.fetch.

Execute the query and return the generated result.

The result and its contained records are attached to the original Configuration by default. Use Settings#isAttachRecords() to override this behaviour.

Lifecycle guarantees

This method completes the whole ConnectionProvider 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 ResultSets and fetch records lazily, use fetchLazy() instead and then operate on Cursor.

This method is not affected by Settings#getFetchIntermediateResult().

Returns:Result<R>

The result. This will never be null.

Annotations
@Override
fetchSizeback to summary
public final CloseableResultQuery<R> fetchSize(int rows)

Implements org.jooq.CloseableResultQuery.fetchSize.

Doc from org.jooq.ResultQuery.fetchSize.

Specify the fetch size of the underlying Statement.

Regardless of this setting, fetchLazy() is the only way in jOOQ not to fetch all data in memory. However, you may influence how your JDBC driver interacts with your database through specifying a fetch size.

Dialect-specific remarks:

Annotations
@Override
getBindValuesback to summary
public final List<Object> getBindValues()

Implements org.jooq.AttachableQueryPart.getBindValues.

Doc from org.jooq.AttachableQueryPart.getBindValues.

Retrieve the bind values that will be bound by this Query.

Unlike getParams(), which returns also inlined parameters, this returns only actual bind values that will render an actual bind value as a question mark "?"

Annotations
@Override
getDelegateback to summary
pack-priv final Q getDelegate()
getFieldsback to summary
public final Field<?>[] getFields(ThrowingSupplier<? extends ResultSetMetaData, SQLException> rs) throws SQLException

Overrides default org.jooq.impl.ResultQueryTrait.getFields.

Doc from org.jooq.impl.ResultQueryTrait.getFields.

Deprecated

as a consequence of Field being deprecated. See corresponding docs for further information.

Get a list of fields provided a result set.

Annotations
@Override
Exceptions
SQLException:
If something goes wrong when accessing ResultSetMetaData.
getFieldsback to summary
public final Field<?>[] getFields()

Implements org.jooq.impl.ResultQueryTrait.getFields.

Doc from org.jooq.impl.ResultQueryTrait.getFields.

Deprecated

as a consequence of Field being deprecated. See corresponding docs for further information.

Get a list of fields if we don't have a result set.

Annotations
@Override
getParamback to summary
public final Param<?> getParam(String name)

Implements org.jooq.AttachableQueryPart.getParam.

Doc from org.jooq.AttachableQueryPart.getParam.

Deprecated

as a consequence of Param being deprecated. See corresponding docs for further information.

Get a named parameter from the Query, provided its name.

Bind values created with DSL#val(Object) will have their bind index as name.

Annotations
@Override
getParamsback to summary
public final Map<String, Param<?>> getParams()

Implements org.jooq.AttachableQueryPart.getParams.

Doc from org.jooq.AttachableQueryPart.getParams.

Get a Map of named parameters. The Map itself cannot be modified, but the Param elements allow for modifying bind values on an existing Query.

Bind values created with DSL#val(Object) will have their bind index as name.

Annotations
@Override
getRecordTypeback to summary
public final Class<? extends R> getRecordType()

Implements org.jooq.ResultQuery.getRecordType.

Doc from org.jooq.ResultQuery.getRecordType.

The record type produced by this query.

Annotations
@Override
getResultback to summary
public final Result<R> getResult()

Implements org.jooq.ResultQuery.getResult.

Doc from org.jooq.ResultQuery.getResult.

Return the result generated by a previous call to execute().

Returns:Result<R>

The result or null if no call to execute() was done previously.

Annotations
@Override
getSQLback to summary
public final String getSQL()

Implements org.jooq.AttachableQueryPart.getSQL.

Doc from org.jooq.AttachableQueryPart.getSQL.

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

  • JDBC
  • Spring Templates
  • JPA native queries
  • etc...

Note, this is the same as calling getSQL(ParamType). The parameter will depend on your DSLContext's Settings:

StatementType boolean parameter effect
StatementType#PREPARED_STATEMENT false (default) This will render bind variables to be used with a JDBC PreparedStatement. You can extract bind values from this Query using getBindValues()
StatementType#STATIC_STATEMENT true This will inline all bind variables in a statement to be used with a JDBC Statement

[#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 Settings to decide whether to render bind values.

Annotations
@Override
getSQLback to summary
public final String getSQL(ParamType paramType)

Implements org.jooq.AttachableQueryPart.getSQL.

Doc from org.jooq.AttachableQueryPart.getSQL.

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 paramType argument to decide whether to render bind values.

See getSQL() for more details.

Parameters
paramType:ParamType

How to render parameters. This overrides values in Settings#getStatementType()

Returns:String

The generated SQL

Annotations
@Override
internback to summary
public final CloseableResultQuery<R> intern(Field<?>... fields)

Implements org.jooq.CloseableResultQuery.intern.

Doc from org.jooq.ResultQuery.intern.

Deprecated

as a consequence of Field being deprecated. See corresponding docs for further information.

Specify a set of fields whose values should be interned.

Unlike Result's intern() methods, this already interns values right after fetching them from a JDBC result set. See Result#intern(int...) for more details.

Parameters
fields:Field<?>[]

The fields whose values should be interned

Returns:CloseableResultQuery<R>

The same result query

Annotations
@Override
internback to summary
public final CloseableResultQuery<R> intern(int... fieldIndexes)

Implements org.jooq.CloseableResultQuery.intern.

Doc from org.jooq.ResultQuery.intern.

Specify a set of field indexes whose values should be interned.

Unlike Result's intern() methods, this already interns values right after fetching them from a JDBC result set. See Result#intern(int...) for more details.

Parameters
fieldIndexes:int[]

The field indexes whose values should be interned

Returns:CloseableResultQuery<R>

The same result query

Annotations
@Override
internback to summary
public final CloseableResultQuery<R> intern(String... fieldNames)

Implements org.jooq.CloseableResultQuery.intern.

Doc from org.jooq.ResultQuery.intern.

Specify a set of field names whose values should be interned.

Unlike Result's intern() methods, this already interns values right after fetching them from a JDBC result set. See Result#intern(String...) for more details.

Parameters
fieldNames:String[]

The field names whose values should be interned

Returns:CloseableResultQuery<R>

The same result query

Annotations
@Override
internback to summary
public final CloseableResultQuery<R> intern(Name... fieldNames)

Implements org.jooq.CloseableResultQuery.intern.

Doc from org.jooq.ResultQuery.intern.

Specify a set of field names whose values should be interned.

Unlike Result's intern() methods, this already interns values right after fetching them from a JDBC result set. See Result#intern(Name...) for more details.

Parameters
fieldNames:Name[]

The field names whose values should be interned

Returns:CloseableResultQuery<R>

The same result query

Annotations
@Override
isExecutableback to summary
public final boolean isExecutable()

Implements org.jooq.Query.isExecutable.

Doc from org.jooq.Query.isExecutable.

Whether this query is executable in its current state.

DML queries may be incomplete in structure and thus not executable. Calling execute() on such queries has no effect, but beware that getSQL() may not render valid SQL!

Annotations
@Override
keepStatementback to summary
public final CloseableResultQuery<R> keepStatement(boolean keepStatement)

Implements org.jooq.CloseableResultQuery.keepStatement.

Doc from org.jooq.Query.keepStatement.

Keep the query's underlying statement open after execution.

This indicates to jOOQ that the query's underlying Statement or PreparedStatement should be kept open after execution. If it is kept open, client code is responsible for properly closing it using CloseableQuery#close(), e.g. via a try-with-resources statement.

Parameters
keepStatement:boolean

Whether to keep the underlying statement open

Annotations
@Override
maxRowsback to summary
public final CloseableResultQuery<R> maxRows(int rows)

Implements org.jooq.CloseableResultQuery.maxRows.

Doc from org.jooq.ResultQuery.maxRows.

Specify the maximum number of rows returned by the underlying Statement.

This is not the same as setting a LIMIT … OFFSET clause onto the statement, where the result set is restricted within the database.

Annotations
@Override
poolableback to summary
public final CloseableResultQuery<R> poolable(boolean poolable)

Implements org.jooq.CloseableResultQuery.poolable.

Doc from org.jooq.Query.poolable.

Specify whether any JDBC java.sql.Statement created by this query should be java.sql.Statement#setPoolable(boolean).

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.

Annotations
@Override
queryTimeoutback to summary
public final CloseableResultQuery<R> queryTimeout(int timeout)

Implements org.jooq.CloseableResultQuery.queryTimeout.

Doc from org.jooq.Query.queryTimeout.

Specify the query timeout in number of seconds for the underlying JDBC Statement.

Annotations
@Override
resultSetConcurrencyback to summary
public final CloseableResultQuery<R> resultSetConcurrency(int resultSetConcurrency)

Implements org.jooq.CloseableResultQuery.resultSetConcurrency.

Doc from org.jooq.ResultQuery.resultSetConcurrency.

Specify the ResultSet concurrency of ResultSet objects created by jOOQ.

This will affect the way you may perceive ResultSet objects obtained from any of these methods:

Annotations
@Override
resultSetHoldabilityback to summary
public final CloseableResultQuery<R> resultSetHoldability(int resultSetHoldability)

Implements org.jooq.CloseableResultQuery.resultSetHoldability.

Doc from org.jooq.ResultQuery.resultSetHoldability.

Specify the ResultSet holdability of ResultSet objects created by jOOQ.

This will affect the way you may perceive ResultSet objects obtained from any of these methods:

Annotations
@Override
resultSetTypeback to summary
public final CloseableResultQuery<R> resultSetType(int resultSetType)

Implements org.jooq.CloseableResultQuery.resultSetType.

Doc from org.jooq.ResultQuery.resultSetType.

Specify the ResultSet type of ResultSet objects created by jOOQ.

This will affect the way you may perceive ResultSet objects obtained from any of these methods:

Annotations
@Override