| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<PreparedQuery> |
__TYPE_ARG |
| Constructor and Description |
|---|
PreparedQuery(PreparedQuery delegate) |
public static final io.vertx.lang.rx.TypeArg<PreparedQuery> __TYPE_ARG
public PreparedQuery(PreparedQuery delegate)
public PreparedQuery getDelegate()
public PreparedQuery execute(Handler<AsyncResult<RowSet<Row>>> handler)
execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.sqlclient.RowSet<io.vertx.rxjava.sqlclient.Row>>>) with an empty tuple argument.handler - public PreparedQuery execute()
execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.sqlclient.RowSet<io.vertx.rxjava.sqlclient.Row>>>) with an empty tuple argument.public Single<RowSet<Row>> rxExecute()
execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.sqlclient.RowSet<io.vertx.rxjava.sqlclient.Row>>>) with an empty tuple argument.public PreparedQuery execute(Tuple args, Handler<AsyncResult<RowSet<Row>>> handler)
arguments.args - the list of argumentshandler - public PreparedQuery execute(Tuple args)
arguments.args - the list of argumentspublic Single<RowSet<Row>> rxExecute(Tuple args)
arguments.args - the list of argumentspublic Cursor cursor()
fetch size and empty argumentspublic Cursor cursor(Tuple args)
arguments.args - the list of argumentspublic RowStream<Row> createStream(int fetch, Tuple args)
fetch size to fetch the results.
Note: this requires to be in a transaction, since cursors require it.fetch - the cursor fetch sizeargs - the prepared query argumentspublic PreparedQuery batch(List<Tuple> argsList, Handler<AsyncResult<RowSet<Row>>> handler)
argsList - the list of tuple for the batchhandler - public PreparedQuery batch(List<Tuple> argsList)
argsList - the list of tuple for the batchpublic Single<RowSet<Row>> rxBatch(List<Tuple> argsList)
argsList - the list of tuple for the batchpublic void close()
public void close(Handler<AsyncResult<Void>> completionHandler)
close() but notifies the completionHandler when it's closed.completionHandler - public Single<Void> rxClose()
close() but notifies the completionHandler when it's closed.public static PreparedQuery newInstance(PreparedQuery arg)
Copyright © 2019 Eclipse. All rights reserved.