public interface Query<T>
Modifier and Type | Method and Description |
---|---|
<R> Query<SqlResult<R>> |
collecting(Collector<Row,?,R> collector)
Use the specified
collector for collecting the query result to <R> . |
io.vertx.core.Future<T> |
execute()
Like
execute(Handler) but returns a Future of the asynchronous result |
void |
execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<T>> handler)
Execute the query.
|
<U> Query<RowSet<U>> |
mapping(Function<Row,U> mapper)
|
void execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<T>> handler)
handler
- the handler receiving the responseio.vertx.core.Future<T> execute()
execute(Handler)
but returns a Future
of the asynchronous result<R> Query<SqlResult<R>> collecting(Collector<Row,?,R> collector)
collector
for collecting the query result to <R>
.Copyright © 2021 Eclipse. All rights reserved.