Package fr.maif.jooq.reactive
Class ReactivePgAsyncConnection
- java.lang.Object
-
- fr.maif.jooq.reactive.AbstractReactivePgAsyncClient<io.vertx.sqlclient.SqlConnection>
-
- fr.maif.jooq.reactive.ReactivePgAsyncConnection
-
- All Implemented Interfaces:
fr.maif.jooq.PgAsyncClient
,fr.maif.jooq.PgAsyncConnection
public class ReactivePgAsyncConnection extends AbstractReactivePgAsyncClient<io.vertx.sqlclient.SqlConnection> implements fr.maif.jooq.PgAsyncConnection
-
-
Field Summary
-
Fields inherited from class fr.maif.jooq.reactive.AbstractReactivePgAsyncClient
client, configuration, mapper
-
-
Constructor Summary
Constructors Constructor Description ReactivePgAsyncConnection(io.vertx.sqlclient.SqlConnection client, org.jooq.Configuration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.vavr.concurrent.Future<fr.maif.jooq.PgAsyncTransaction>
begin()
io.vavr.concurrent.Future<io.vavr.Tuple0>
close()
<Q extends org.jooq.Record>
akka.stream.javadsl.Source<fr.maif.jooq.QueryResult,akka.NotUsed>stream(java.lang.Integer fetchSize, java.util.function.Function<org.jooq.DSLContext,? extends org.jooq.ResultQuery<Q>> queryFunction)
-
Methods inherited from class fr.maif.jooq.reactive.AbstractReactivePgAsyncClient
asList, convertParamToDatabaseType, convertToDatabaseType, createQuery, execute, executeBatch, executeBatch, getBindValues, log, query, queryOne, rawPreparedQuery, toCompletionHandler, toPreparedQuery
-
-
-
-
Method Detail
-
close
public io.vavr.concurrent.Future<io.vavr.Tuple0> close()
- Specified by:
close
in interfacefr.maif.jooq.PgAsyncConnection
-
begin
public io.vavr.concurrent.Future<fr.maif.jooq.PgAsyncTransaction> begin()
- Specified by:
begin
in interfacefr.maif.jooq.PgAsyncConnection
-
stream
public <Q extends org.jooq.Record> akka.stream.javadsl.Source<fr.maif.jooq.QueryResult,akka.NotUsed> stream(java.lang.Integer fetchSize, java.util.function.Function<org.jooq.DSLContext,? extends org.jooq.ResultQuery<Q>> queryFunction)
- Specified by:
stream
in interfacefr.maif.jooq.PgAsyncClient
-
-