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(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(Function<Row,U> mapper)
|
static <T> PreparedQuery<T> |
newInstance(PreparedQuery arg) |
static <T> PreparedQuery<T> |
newInstance(PreparedQuery arg,
TypeArg<T> __typeArg_T) |
io.reactivex.Single<T> |
rxExecute()
Execute the query.
|
io.reactivex.Single<T> |
rxExecute(Tuple tuple)
Execute the query.
|
io.reactivex.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 PreparedQuery(PreparedQuery delegate)
public PreparedQuery getDelegate()
getDelegate
in class Query<T>
public void execute(Handler<AsyncResult<T>> handler)
public io.reactivex.Single<T> rxExecute()
public void execute(Tuple tuple, Handler<AsyncResult<T>> handler)
tuple
- handler
- the handler receiving the responsepublic void execute(Tuple tuple)
tuple
- public io.reactivex.Single<T> rxExecute(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 io.reactivex.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(PreparedQuery arg)
public static <T> PreparedQuery<T> newInstance(PreparedQuery arg, TypeArg<T> __typeArg_T)
Copyright © 2020 Eclipse. All rights reserved.