Package io.vertx.mutiny.sqlclient
Class Query<T>
- java.lang.Object
 - 
- io.vertx.mutiny.sqlclient.Query<T>
 
 
- 
- Direct Known Subclasses:
 PreparedQuery
public class Query<T> extends Object
A query. NOTE: This class has been automatically generated from theoriginalnon Mutiny-ified interface using Vert.x codegen. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static TypeArg<Query>__TYPE_ARGTypeArg<T>__typeArg_0 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)io.smallrye.mutiny.Uni<T>execute()Execute the query.TexecuteAndAwait()Blocking variant ofexecute().voidexecuteAndForget()Variant ofexecute()that ignores the result of the operation.io.vertx.sqlclient.QuerygetDelegate()inthashCode()<U> Query<RowSet<U>>mapping(Function<Row,U> mapper)static <T> Query<T>newInstance(io.vertx.sqlclient.Query arg)static <T> Query<T>newInstance(io.vertx.sqlclient.Query arg, TypeArg<T> __typeArg_T)StringtoString() 
 - 
 
- 
- 
Method Detail
- 
getDelegate
public io.vertx.sqlclient.Query getDelegate()
 
- 
execute
public io.smallrye.mutiny.Uni<T> execute()
Execute the query.Unlike the bare Vert.x variant, this method returns a
Uni. Don't forget to subscribe on it to trigger the operation.- Returns:
 - the 
unifiring the result of the operation when completed, or a failure if the operation failed. 
 
- 
executeAndAwait
public T executeAndAwait()
Blocking variant ofexecute().This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Returns:
 - the T instance produced by the operation.
 
 
- 
executeAndForget
public void executeAndForget()
 
- 
newInstance
public static <T> Query<T> newInstance(io.vertx.sqlclient.Query arg)
 
 - 
 
 -