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