Class Query<T>
- All Implemented Interfaces:
MutinyDelegate
- Direct Known Subclasses:
PreparedQuery
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- Author:
- Julien Viet
- See Also:
-
Query
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanio.smallrye.mutiny.Uni<T>execute()Execute the query.Execute the query.Execute the query.io.vertx.sqlclient.Query<T>Get the delegate instance.inthashCode()static <T> Query<T>newInstance(io.vertx.sqlclient.Query<T> delegate) Creates a new instance of theQuery.static <T> Query<T>newInstance(io.vertx.sqlclient.Query<T> delegate, TypeArg<T> typeArg_0) Creates a new instance of theQuery.toString()
-
Field Details
-
__TYPE_ARG
-
__typeArg_0
-
-
Constructor Details
-
Query
Create a new instance ofQuerydelegating to the given (non-null) instance ofQuery. -
Query
-
Query
-
-
Method Details
-
getDelegate
Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate instance
-
execute
Execute the query.Unlike the bare Vert.x variant, this method returns a
Uni. The uni emits the result of the operation as item. If the operation fails, the uni emits the failure.Don't forget to subscribe on it to trigger the operation.
- Returns:
- A
Unirepresenting the asynchronous result of this operation. - See Also:
-
Query.execute()
-
executeAndAwait
Execute the query.Unlike the bare Vert.x variant, this method returns a
Query. This method awaits indefinitely 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 aRuntimeException).- Returns:
- The operation result
- See Also:
-
Query.execute()
-
executeAndForget
Execute the query.Unlike the bare Vert.x variant, this method ignores the
Queryresult or any failure.- Returns:
- The current instance to chain operations if needed.
- See Also:
-
Query.execute()
-
mapping
-
newInstance
Creates a new instance of theQuery. -
newInstance
Creates a new instance of theQuery. -
hashCode
public int hashCode() -
equals
-
toString
-