Class PreparedQuery<T>
- All Implemented Interfaces:
MutinyDelegate
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- Author:
- Julien Viet
- See Also:
-
PreparedQuery
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPreparedQuery(io.vertx.sqlclient.PreparedQuery<T> delegate) Create a new instance ofPreparedQuerydelegating to the given (non-null) instance ofPreparedQuery.PreparedQuery(io.vertx.sqlclient.PreparedQuery<T> delegate, TypeArg<T> typeArg_0) PreparedQuery(Object delegate, TypeArg<T> typeArg_0) -
Method Summary
Modifier and TypeMethodDescriptionbooleanio.smallrye.mutiny.Uni<T>execute()Execute the query.io.smallrye.mutiny.Uni<T>Execute the query.Execute the query.executeAndAwait(Tuple tuple) Execute the query.Execute the query.executeAndForget(Tuple tuple) Execute the query.io.smallrye.mutiny.Uni<T>executeBatch(List<Tuple> batch) Execute the query with a batch of tuples.executeBatchAndAwait(List<Tuple> batch) Execute the query with a batch of tuples.executeBatchAndForget(List<Tuple> batch) Execute the query with a batch of tuples.io.vertx.sqlclient.PreparedQuery<T>Get the delegate instance.inthashCode()<U> PreparedQuery<RowSet<U>>static <T> PreparedQuery<T>newInstance(io.vertx.sqlclient.PreparedQuery<T> delegate) Creates a new instance of thePreparedQuery.static <T> PreparedQuery<T>newInstance(io.vertx.sqlclient.PreparedQuery<T> delegate, TypeArg<T> typeArg_0) Creates a new instance of thePreparedQuery.toString()Methods inherited from class io.vertx.mutiny.sqlclient.Query
newInstance, newInstance
-
Field Details
-
__TYPE_ARG
-
__typeArg_0
-
-
Constructor Details
-
PreparedQuery
Create a new instance ofPreparedQuerydelegating to the given (non-null) instance ofPreparedQuery. -
PreparedQuery
-
PreparedQuery
-
-
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- Overrides:
getDelegatein classQuery<T>- 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:
-
io.vertx.sqlclient.PreparedQuery#execute(Tuple)
-
executeAndAwait
Execute the query.Unlike the bare Vert.x variant, this method returns a
PreparedQuery. 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:
-
io.vertx.sqlclient.PreparedQuery#execute(Tuple)
-
executeAndForget
Execute the query.Unlike the bare Vert.x variant, this method ignores the
PreparedQueryresult or any failure.- Returns:
- The current instance to chain operations if needed.
- See Also:
-
io.vertx.sqlclient.PreparedQuery#execute(Tuple)
-
executeBatch
Execute the query with a batch of tuples.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.
- Parameters:
batch- the batch of tuples- Returns:
- A
Unirepresenting the asynchronous result of this operation. - See Also:
-
PreparedQuery.executeBatch(List)
-
executeBatchAndAwait
Execute the query with a batch of tuples.Unlike the bare Vert.x variant, this method returns a
PreparedQuery. 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).- Parameters:
batch- the batch of tuples- Returns:
- The operation result
- See Also:
-
PreparedQuery.executeBatch(List)
-
executeBatchAndForget
Execute the query with a batch of tuples.Unlike the bare Vert.x variant, this method ignores the
PreparedQueryresult or any failure.- Parameters:
batch- the batch of tuples- Returns:
- The current instance to chain operations if needed.
- See Also:
-
PreparedQuery.executeBatch(List)
-
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.
-
executeAndAwait
Execute the query.Unlike the bare Vert.x variant, this method returns a
PreparedQuery. 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).- Overrides:
executeAndAwaitin classQuery<T>- Returns:
- The operation result
- See Also:
-
Query.execute()
-
executeAndForget
Execute the query.Unlike the bare Vert.x variant, this method ignores the
PreparedQueryresult or any failure.- Overrides:
executeAndForgetin classQuery<T>- Returns:
- The current instance to chain operations if needed.
- See Also:
-
Query.execute()
-
mapping
-
newInstance
Creates a new instance of thePreparedQuery. -
newInstance
public static <T> PreparedQuery<T> newInstance(io.vertx.sqlclient.PreparedQuery<T> delegate, TypeArg<T> typeArg_0) Creates a new instance of thePreparedQuery. -
hashCode
public int hashCode() -
equals
-
toString
-