- java.lang.Object
-
- io.vertx.mutiny.sqlclient.RowStream<T>
-
- All Implemented Interfaces:
io.vertx.mutiny.core.streams.ReadStream<T>,io.vertx.mutiny.core.streams.StreamBase
public class RowStream<T> extends Object implements io.vertx.mutiny.core.streams.ReadStream<T>
A row oriented stream. 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 io.smallrye.mutiny.vertx.TypeArg<RowStream>__TYPE_ARGio.smallrye.mutiny.vertx.TypeArg<T>__typeArg_0
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description io.smallrye.mutiny.Uni<Void>close()Close the stream and release the resources.VoidcloseAndAwait()Blocking variant ofclose().voidcloseAndForget()Variant ofclose()that ignores the result of the operation.RowStream<T>endHandler(Runnable endHandler)booleanequals(Object o)RowStream<T>exceptionHandler(Consumer<Throwable> handler)RowStream<T>fetch(long l)io.vertx.sqlclient.RowStreamgetDelegate()RowStream<T>handler(Consumer<T> handler)inthashCode()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)RowStream<T>pause()io.vertx.mutiny.core.streams.Pipe<T>pipe()io.smallrye.mutiny.Uni<Void>pipeTo(io.vertx.mutiny.core.streams.WriteStream<T> dst)VoidpipeToAndAwait(io.vertx.mutiny.core.streams.WriteStream<T> dst)voidpipeToAndForget(io.vertx.mutiny.core.streams.WriteStream<T> dst)RowStream<T>resume()Iterable<T>toBlockingIterable()Stream<T>toBlockingStream()io.smallrye.mutiny.Multi<T>toMulti()StringtoString()
-
-
-
Method Detail
-
getDelegate
public io.vertx.sqlclient.RowStream getDelegate()
- Specified by:
getDelegatein interfaceio.vertx.mutiny.core.streams.ReadStream<T>- Specified by:
getDelegatein interfaceio.vertx.mutiny.core.streams.StreamBase
-
pipe
public io.vertx.mutiny.core.streams.Pipe<T> 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
public Void pipeToAndAwait(io.vertx.mutiny.core.streams.WriteStream<T> dst)
- Specified by:
pipeToAndAwaitin interfaceio.vertx.mutiny.core.streams.ReadStream<T>
-
pipeToAndForget
public void pipeToAndForget(io.vertx.mutiny.core.streams.WriteStream<T> dst)
- Specified by:
pipeToAndForgetin interfaceio.vertx.mutiny.core.streams.ReadStream<T>
-
exceptionHandler
public RowStream<T> exceptionHandler(Consumer<Throwable> handler)
- Specified by:
exceptionHandlerin interfaceio.vertx.mutiny.core.streams.ReadStream<T>- Specified by:
exceptionHandlerin interfaceio.vertx.mutiny.core.streams.StreamBase
-
handler
public RowStream<T> handler(Consumer<T> handler)
- Specified by:
handlerin interfaceio.vertx.mutiny.core.streams.ReadStream<T>
-
pause
public RowStream<T> pause()
- Specified by:
pausein interfaceio.vertx.mutiny.core.streams.ReadStream<T>
-
resume
public RowStream<T> resume()
- Specified by:
resumein interfaceio.vertx.mutiny.core.streams.ReadStream<T>
-
endHandler
public RowStream<T> endHandler(Runnable endHandler)
- Specified by:
endHandlerin interfaceio.vertx.mutiny.core.streams.ReadStream<T>
-
fetch
public RowStream<T> fetch(long l)
- Specified by:
fetchin interfaceio.vertx.mutiny.core.streams.ReadStream<T>
-
close
@CheckReturnValue public io.smallrye.mutiny.Uni<Void> 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
public Void 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
@CheckReturnValue public io.smallrye.mutiny.Multi<T> toMulti()
- Specified by:
toMultiin interfaceio.vertx.mutiny.core.streams.ReadStream<T>
-
newInstance
public static <T> RowStream<T> newInstance(io.vertx.sqlclient.RowStream arg)
-
newInstance
public static <T> RowStream<T> newInstance(io.vertx.sqlclient.RowStream arg, io.smallrye.mutiny.vertx.TypeArg<T> __typeArg_T)
-
-