- All Superinterfaces:
- Attachable,- AttachableQueryPart,- Iterable<Query>,- QueryPart,- Serializable
A wrapper for a collection of queries.
 
 Instances can be created using DSL.queries(Query...) and overloads.
- Author:
- Lukas Eder
- 
Method SummaryModifier and TypeMethodDescription@NotNull QOM.UnmodifiableList<? extends Query>$queries()Experimental query object model accessor method, see alsoQOM.@NotNull Blockblock()The wrapped collection of queries as aBlock.@NotNull QueriesReturn a new instance combining both sets of queries.int @NotNull []Sends the entire batch of queries to the server and executes them using a JDBCStatement.executeBatch()operation.@NotNull ResultsExecute all queries one-by-one and return all results.@NotNull Query @NotNull []queries()The wrapped collection of queries.The wrapped collection of queries.stream()Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from interface org.jooq.Attachableattach, configuration, detachMethods inherited from interface org.jooq.AttachableQueryPartgetBindValues, getParam, getParams, getSQL, getSQLMethods inherited from interface java.lang.IterableforEach, iterator, spliterator
- 
Method Details- 
concatReturn a new instance combining both sets of queries.
- 
queriesThe wrapped collection of queries.
- 
blockThe wrapped collection of queries as aBlock.
- 
streamDeprecated, for removal: This API element is subject to removal in a future version.- 3.10 - [#6143] - UsequeryStream()instead.The wrapped collection of queries.
- 
queryStreamThe wrapped collection of queries.
- 
fetchManyExecute all queries one-by-one and return all results.This is a convenience method for executing individual queries().If this Queriesreference is attached to aConfiguration, then thatconfigurationis used throughDSLContext.fetchMany(ResultQuery)orDSLContext.execute(Query). If thisqueriesreference is unattached, then each individualResultQuery.fetchMany()orQuery.execute()method is called.- Throws:
- DetachedException- If this- queriesreference is unattached and at least one of the contained- queries()is also unattached.
 
- 
executeBatch@Blocking int @NotNull [] executeBatch()Sends the entire batch of queries to the server and executes them using a JDBCStatement.executeBatch()operation.This Queriesreference must be attached to aConfiguration.- Throws:
- DetachedException- If this- queriesreference is unattached.
- See Also:
 
- 
$queriesExperimental query object model accessor method, see alsoQOM. Subject to change in future jOOQ versions, use at your own risk.
 
- 
queryStream()instead.