public class PreparedQuery<T> extends Query<T>
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<PreparedQuery> |
__TYPE_ARG |
TypeArg<T> |
__typeArg_0 |
Constructor and Description |
---|
PreparedQuery(Object delegate,
TypeArg<T> typeArg_0) |
PreparedQuery(io.vertx.sqlclient.PreparedQuery delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
void |
execute()
Execute the query.
|
void |
execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<T>> handler)
Execute the query.
|
void |
execute(Tuple tuple)
Execute the query.
|
void |
execute(Tuple tuple,
io.vertx.core.Handler<io.vertx.core.AsyncResult<T>> handler)
Execute the query.
|
void |
executeBatch(List<Tuple> batch)
Execute the query with a batch of tuples.
|
void |
executeBatch(List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<T>> handler)
Execute the query with a batch of tuples.
|
io.vertx.sqlclient.PreparedQuery |
getDelegate() |
int |
hashCode() |
<U> PreparedQuery<RowSet<U>> |
mapping(Function<Row,U> mapper)
|
static <T> PreparedQuery<T> |
newInstance(io.vertx.sqlclient.PreparedQuery arg) |
static <T> PreparedQuery<T> |
newInstance(io.vertx.sqlclient.PreparedQuery arg,
TypeArg<T> __typeArg_T) |
rx.Single<T> |
rxExecute()
Execute the query.
|
rx.Single<T> |
rxExecute(Tuple tuple)
Execute the query.
|
rx.Single<T> |
rxExecuteBatch(List<Tuple> batch)
Execute the query with a batch of tuples.
|
String |
toString() |
newInstance, newInstance
public static final TypeArg<PreparedQuery> __TYPE_ARG
public io.vertx.sqlclient.PreparedQuery getDelegate()
getDelegate
in class Query<T>
public void execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<T>> handler)
public rx.Single<T> rxExecute()
public void execute(Tuple tuple, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>> handler)
tuple
- handler
- the handler receiving the responsepublic void execute(Tuple tuple)
tuple
- public rx.Single<T> rxExecute(Tuple tuple)
tuple
- public void executeBatch(List<Tuple> batch, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>> handler)
batch
- the batch of tupleshandler
- the handler receiving the responsepublic void executeBatch(List<Tuple> batch)
batch
- the batch of tuplespublic rx.Single<T> rxExecuteBatch(List<Tuple> batch)
batch
- the batch of tuplespublic <U> PreparedQuery<RowSet<U>> mapping(Function<Row,U> mapper)
public static <T> PreparedQuery<T> newInstance(io.vertx.sqlclient.PreparedQuery arg)
public static <T> PreparedQuery<T> newInstance(io.vertx.sqlclient.PreparedQuery arg, TypeArg<T> __typeArg_T)
Copyright © 2021 Eclipse. All rights reserved.