java.lang.Object
io.vertx.mutiny.sqlclient.RowStream<T>
- All Implemented Interfaces:
io.smallrye.mutiny.vertx.MutinyDelegate,io.vertx.mutiny.core.streams.ReadStream<T>,io.vertx.mutiny.core.streams.StreamBase
public class RowStream<T>
extends Object
implements io.smallrye.mutiny.vertx.MutinyDelegate, io.vertx.mutiny.core.streams.ReadStream<T>
A row oriented stream.
NOTE: This class has been automatically generated from the
original non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<Void> close()Close the stream and release the resources.Blocking variant ofclose().voidVariant ofclose()that ignores the result of the operation.endHandler(Runnable endHandler) booleanexceptionHandler(Consumer<Throwable> handler) fetch(long l) io.vertx.sqlclient.RowStreaminthashCode()static <T> RowStream<T> newInstance(io.vertx.sqlclient.RowStream arg) static <T> RowStream<T> newInstance(io.vertx.sqlclient.RowStream arg, io.smallrye.mutiny.vertx.TypeArg<T> __typeArg_T) pause()io.vertx.mutiny.core.streams.Pipe<T> pipe()io.smallrye.mutiny.Uni<Void> pipeToAndAwait(io.vertx.mutiny.core.streams.WriteStream<T> dst) voidpipeToAndForget(io.vertx.mutiny.core.streams.WriteStream<T> dst) resume()io.smallrye.mutiny.Multi<T> toMulti()toString()
-
Field Details
-
__TYPE_ARG
-
__typeArg_0
-
-
Constructor Details
-
RowStream
public RowStream(io.vertx.sqlclient.RowStream delegate) -
RowStream
-
RowStream
public RowStream(io.vertx.sqlclient.RowStream delegate, io.smallrye.mutiny.vertx.TypeArg<T> typeArg_0)
-
-
Method Details
-
getDelegate
public io.vertx.sqlclient.RowStream getDelegate()- Specified by:
getDelegatein interfaceio.smallrye.mutiny.vertx.MutinyDelegate- Specified by:
getDelegatein interfaceio.vertx.mutiny.core.streams.ReadStream<T>- Specified by:
getDelegatein interfaceio.vertx.mutiny.core.streams.StreamBase
-
toString
-
equals
-
hashCode
public int hashCode() -
pipe
- Specified by:
pipein interfaceio.vertx.mutiny.core.streams.ReadStream<T>
-
pipeTo
@CheckReturnValue public io.smallrye.mutiny.Uni<Void> pipeTo(io.vertx.mutiny.core.streams.WriteStream<T> dst) - Specified by:
pipeToin interfaceio.vertx.mutiny.core.streams.ReadStream<T>
-
pipeToAndAwait
- Specified by:
pipeToAndAwaitin interfaceio.vertx.mutiny.core.streams.ReadStream<T>
-
pipeToAndForget
- Specified by:
pipeToAndForgetin interfaceio.vertx.mutiny.core.streams.ReadStream<T>
-
exceptionHandler
- Specified by:
exceptionHandlerin interfaceio.vertx.mutiny.core.streams.ReadStream<T>- Specified by:
exceptionHandlerin interfaceio.vertx.mutiny.core.streams.StreamBase
-
handler
- Specified by:
handlerin interfaceio.vertx.mutiny.core.streams.ReadStream<T>
-
pause
- Specified by:
pausein interfaceio.vertx.mutiny.core.streams.ReadStream<T>
-
resume
- Specified by:
resumein interfaceio.vertx.mutiny.core.streams.ReadStream<T>
-
endHandler
- Specified by:
endHandlerin interfaceio.vertx.mutiny.core.streams.ReadStream<T>
-
fetch
- Specified by:
fetchin interfaceio.vertx.mutiny.core.streams.ReadStream<T>
-
close
Close the stream and release the resources.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.
-
closeAndAwait
Blocking variant ofclose().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 Void instance produced by the operation.
-
closeAndForget
public void closeAndForget() -
toMulti
- Specified by:
toMultiin interfaceio.vertx.mutiny.core.streams.ReadStream<T>
-
toBlockingIterable
-
toBlockingStream
-
newInstance
-
newInstance
public static <T> RowStream<T> newInstance(io.vertx.sqlclient.RowStream arg, io.smallrye.mutiny.vertx.TypeArg<T> __typeArg_T)
-