public interface PreparedQuery<T> extends Query<T>
Modifier and Type | Method and Description |
---|---|
<R> PreparedQuery<SqlResult<R>> |
collecting(java.util.stream.Collector<Row,?,R> collector)
Use the specified
collector for collecting the query result to <R> . |
void |
execute(Tuple tuple,
Handler<AsyncResult<T>> handler)
Execute the query.
|
void |
executeBatch(List<Tuple> batch,
Handler<AsyncResult<T>> handler)
Execute the query with a batch of tuples.
|
<U> PreparedQuery<RowSet<U>> |
mapping(java.util.function.Function<Row,U> mapper)
|
void execute(Tuple tuple, Handler<AsyncResult<T>> handler)
handler
- the handler receiving the responsevoid executeBatch(List<Tuple> batch, Handler<AsyncResult<T>> handler)
batch
- the batch of tupleshandler
- the handler receiving the response<R> PreparedQuery<SqlResult<R>> collecting(java.util.stream.Collector<Row,?,R> collector)
collector
for collecting the query result to <R>
.collecting
in interface Query<T>
<U> PreparedQuery<RowSet<U>> mapping(java.util.function.Function<Row,U> mapper)
Copyright © 2023 Eclipse. All rights reserved.