public class AsyncJooqSQLClientImpl extends Object implements AsyncJooqSQLClient
| Constructor and Description |
|---|
AsyncJooqSQLClientImpl(io.vertx.core.Vertx vertx,
io.vertx.ext.asyncsql.AsyncSQLClient delegate) |
| Modifier and Type | Method and Description |
|---|---|
io.vertx.ext.asyncsql.AsyncSQLClient |
delegate() |
CompletableFuture<Integer> |
execute(org.jooq.Query query) |
<P> CompletableFuture<List<P>> |
fetch(org.jooq.Query query,
Function<io.vertx.core.json.JsonObject,P> mapper) |
<P> CompletableFuture<P> |
fetchOne(org.jooq.Query query,
Function<io.vertx.core.json.JsonObject,P> mapper) |
CompletableFuture<Long> |
insertReturning(org.jooq.Query query) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatepublic AsyncJooqSQLClientImpl(io.vertx.core.Vertx vertx,
io.vertx.ext.asyncsql.AsyncSQLClient delegate)
public <P> CompletableFuture<List<P>> fetch(org.jooq.Query query, Function<io.vertx.core.json.JsonObject,P> mapper)
fetch in interface AsyncJooqSQLClientP - the type to fetchquery - a jOOQ-querymapper - a function to map the result into another object.public <P> CompletableFuture<P> fetchOne(org.jooq.Query query, Function<io.vertx.core.json.JsonObject,P> mapper)
fetchOne in interface AsyncJooqSQLClientP - the type to fetchquery - a jOOQ-querymapper - a function to map the result into another object.null.public CompletableFuture<Integer> execute(org.jooq.Query query)
execute in interface AsyncJooqSQLClientquery - a jOOQ-querypublic CompletableFuture<Long> insertReturning(org.jooq.Query query)
insertReturning in interface AsyncJooqSQLClientquery - a jOOQ-query to run the insertpublic io.vertx.ext.asyncsql.AsyncSQLClient delegate()
delegate in interface AsyncJooqSQLClientCopyright © 2017. All rights reserved.