Uses of Interface
org.jdbi.v3.core.result.ResultProducer
Package
Description
result
provides the streaming interface that reads rows from JDBC
and drives the mapper
and collector
processes to
produce results.
The
statement
package provides most of the Fluent API
to drive statement execution.-
Uses of ResultProducer in org.jdbi.v3.core.result
Modifier and TypeMethodDescriptionstatic ResultProducer<ResultBearing>
ResultProducers.returningGeneratedKeys
(String... generatedKeyColumnNames) Result producer that returns aResultBearing
over the statement-generated keys.static ResultProducer<ResultBearing>
ResultProducers.returningResults()
Result producer that returns aResultBearing
over the statement result rows.static ResultProducer<Integer>
ResultProducers.returningUpdateCount()
Result producer that eagerly executes the statement, returning the update count -
Uses of ResultProducer in org.jdbi.v3.core.statement
Modifier and TypeMethodDescription<R> R
PreparedBatch.execute
(ResultProducer<R> producer) Executes the batch, returning the result obtained from the givenResultProducer
.<R> R
Query.execute
(ResultProducer<R> producer) Executes the query, returning the result obtained from the givenResultProducer
.<R> R
Update.execute
(ResultProducer<R> producer) Executes the update, returning the result obtained from the givenResultProducer
.