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