Package io.vertx.mutiny.sqlclient
Class Query<T>
java.lang.Object
io.vertx.mutiny.sqlclient.Query<T>
- All Implemented Interfaces:
 MutinyDelegate
- Direct Known Subclasses:
 PreparedQuery
A query.
 
 NOTE: This class has been automatically generated from the 
original non Mutiny-ified interface using Vert.x codegen.- 
Field Summary
FieldsModifier and TypeFieldDescription - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanio.smallrye.mutiny.Uni<T>execute()Execute the query.Blocking variant ofexecute().voidVariant ofexecute()that ignores the result of the operation.io.vertx.sqlclient.QueryinthashCode()static <T> Query<T>newInstance(io.vertx.sqlclient.Query arg) static <T> Query<T>newInstance(io.vertx.sqlclient.Query arg, TypeArg<T> __typeArg_T) toString() 
- 
Field Details
- 
__TYPE_ARG
 - 
__typeArg_0
 
 - 
 - 
Constructor Details
- 
Query
public Query(io.vertx.sqlclient.Query delegate)  - 
Query
 - 
Query
 
 - 
 - 
Method Details
- 
getDelegate
public io.vertx.sqlclient.Query getDelegate()- Specified by:
 getDelegatein interfaceMutinyDelegate- Returns:
 - the delegate used by this Mutiny object of generated type
 
 - 
toString
 - 
equals
 - 
hashCode
public int hashCode() - 
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
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() - 
mapping
- Parameters:
 mapper-- Returns:
 
 - 
newInstance
 - 
newInstance
 
 -