Package io.vertx.reactivex.sqlclient
Class PreparedQuery<T>
- java.lang.Object
-
- io.vertx.reactivex.sqlclient.Query<T>
-
- io.vertx.reactivex.sqlclient.PreparedQuery<T>
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<PreparedQuery>
__TYPE_ARG
TypeArg<T>
__typeArg_0
-
Constructor Summary
Constructors Constructor Description PreparedQuery(PreparedQuery delegate)
PreparedQuery(Object delegate, TypeArg<T> typeArg_0)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
Methods inherited from class io.vertx.reactivex.sqlclient.Query
newInstance, newInstance
-
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<PreparedQuery> __TYPE_ARG
-
-
Constructor Detail
-
PreparedQuery
public PreparedQuery(PreparedQuery delegate)
-
-
Method Detail
-
getDelegate
public PreparedQuery getDelegate()
- Overrides:
getDelegate
in classQuery<T>
-
execute
public void execute(Handler<AsyncResult<T>> handler)
Execute the query.
-
rxExecute
public io.reactivex.Single<T> rxExecute()
Execute the query.
-
execute
public void execute(Tuple tuple, Handler<AsyncResult<T>> handler)
Execute the query.- Parameters:
tuple
-handler
- the handler receiving the response
-
execute
public void execute(Tuple tuple)
Execute the query.- Parameters:
tuple
-
-
rxExecute
public io.reactivex.Single<T> rxExecute(Tuple tuple)
Execute the query.- Parameters:
tuple
-- Returns:
-
executeBatch
public void executeBatch(List<Tuple> batch, Handler<AsyncResult<T>> handler)
Execute the query with a batch of tuples.- Parameters:
batch
- the batch of tupleshandler
- the handler receiving the response
-
executeBatch
public void executeBatch(List<Tuple> batch)
Execute the query with a batch of tuples.- Parameters:
batch
- the batch of tuples
-
rxExecuteBatch
public io.reactivex.Single<T> rxExecuteBatch(List<Tuple> batch)
Execute the query with a batch of tuples.- Parameters:
batch
- the batch of tuples- Returns:
-
mapping
public <U> PreparedQuery<RowSet<U>> mapping(Function<Row,U> mapper)
-
newInstance
public static <T> PreparedQuery<T> newInstance(PreparedQuery arg)
-
newInstance
public static <T> PreparedQuery<T> newInstance(PreparedQuery arg, TypeArg<T> __typeArg_T)
-
-