public class CassandraRowStream extends Object implements ReadStream<com.datastax.oss.driver.api.core.cql.Row>
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<CassandraRowStream> |
__TYPE_ARG |
| Constructor and Description |
|---|
CassandraRowStream(CassandraRowStream delegate) |
CassandraRowStream(Object delegate) |
| Modifier and Type | Method and Description |
|---|---|
com.datastax.oss.driver.api.core.cql.ColumnDefinitions |
columnDefinitions()
Get the provided by the backing
ResultSet for this stream. |
CassandraRowStream |
endHandler(Handler<Void> handler)
Set an end handler.
|
boolean |
equals(Object o) |
CassandraRowStream |
exceptionHandler(Handler<Throwable> handler)
Set an exception handler on the read stream.
|
com.datastax.oss.driver.api.core.cql.ExecutionInfo |
executionInfo()
Get the provided by the backing
ResultSet for this stream. |
CassandraRowStream |
fetch(long l)
Fetch the specified
amount of elements. |
CassandraRowStream |
getDelegate() |
CassandraRowStream |
handler(Handler<com.datastax.oss.driver.api.core.cql.Row> handler)
Set a data handler.
|
int |
hashCode() |
static CassandraRowStream |
newInstance(CassandraRowStream arg) |
CassandraRowStream |
pause()
Pause the
ReadStream, it sets the buffer in fetch mode and clears the actual demand. |
Pipe<com.datastax.oss.driver.api.core.cql.Row> |
pipe()
Pause this stream and return a to transfer the elements of this stream to a destination .
|
Completable |
pipeTo(WriteStream<com.datastax.oss.driver.api.core.cql.Row> dst)
Pipe this
ReadStream to the WriteStream. |
CassandraRowStream |
resume()
Resume reading, and sets the buffer in
flowing mode. |
Completable |
rxPipeTo(WriteStream<com.datastax.oss.driver.api.core.cql.Row> dst)
Pipe this
ReadStream to the WriteStream. |
Flowable<com.datastax.oss.driver.api.core.cql.Row> |
toFlowable() |
Observable<com.datastax.oss.driver.api.core.cql.Row> |
toObservable() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitnewInstance, newInstancenewInstancepublic static final io.vertx.lang.rx.TypeArg<CassandraRowStream> __TYPE_ARG
public CassandraRowStream(CassandraRowStream delegate)
public CassandraRowStream(Object delegate)
public CassandraRowStream getDelegate()
getDelegate in interface ReadStream<com.datastax.oss.driver.api.core.cql.Row>getDelegate in interface StreamBasepublic Observable<com.datastax.oss.driver.api.core.cql.Row> toObservable()
toObservable in interface ReadStream<com.datastax.oss.driver.api.core.cql.Row>public Flowable<com.datastax.oss.driver.api.core.cql.Row> toFlowable()
toFlowable in interface ReadStream<com.datastax.oss.driver.api.core.cql.Row>public Pipe<com.datastax.oss.driver.api.core.cql.Row> pipe()
WriteStream.pipe in interface ReadStream<com.datastax.oss.driver.api.core.cql.Row>public CassandraRowStream exceptionHandler(Handler<Throwable> handler)
ReadStreamexceptionHandler in interface ReadStream<com.datastax.oss.driver.api.core.cql.Row>exceptionHandler in interface StreamBasehandler - the exception handlerpublic CassandraRowStream pause()
ReadStreamReadStream, it sets the buffer in fetch mode and clears the actual demand.
While it's paused, no data will be sent to the data handler.
pause in interface ReadStream<com.datastax.oss.driver.api.core.cql.Row>public CassandraRowStream resume()
ReadStreamflowing mode.
If the ReadStream has been paused, reading will recommence on it.resume in interface ReadStream<com.datastax.oss.driver.api.core.cql.Row>public CassandraRowStream endHandler(Handler<Void> handler)
ReadStreamendHandler in interface ReadStream<com.datastax.oss.driver.api.core.cql.Row>public CassandraRowStream fetch(long l)
ReadStreamamount of elements. If the ReadStream has been paused, reading will
recommence with the specified amount of items, otherwise the specified amount will
be added to the current stream demand.fetch in interface ReadStream<com.datastax.oss.driver.api.core.cql.Row>public CassandraRowStream handler(Handler<com.datastax.oss.driver.api.core.cql.Row> handler)
ReadStreamhandler in interface ReadStream<com.datastax.oss.driver.api.core.cql.Row>public Completable pipeTo(WriteStream<com.datastax.oss.driver.api.core.cql.Row> dst)
ReadStreamReadStream to the WriteStream.
Elements emitted by this stream will be written to the write stream until this stream ends or fails.
Once this stream has ended or failed, the write stream will be ended and the handler will be
called with the result.
pipeTo in interface ReadStream<com.datastax.oss.driver.api.core.cql.Row>dst - the destination write streampublic Completable rxPipeTo(WriteStream<com.datastax.oss.driver.api.core.cql.Row> dst)
ReadStreamReadStream to the WriteStream.
Elements emitted by this stream will be written to the write stream until this stream ends or fails.
Once this stream has ended or failed, the write stream will be ended and the handler will be
called with the result.
rxPipeTo in interface ReadStream<com.datastax.oss.driver.api.core.cql.Row>dst - the destination write streampublic com.datastax.oss.driver.api.core.cql.ExecutionInfo executionInfo()
ResultSet for this stream.public com.datastax.oss.driver.api.core.cql.ColumnDefinitions columnDefinitions()
ResultSet for this stream.public static CassandraRowStream newInstance(CassandraRowStream arg)
Copyright © 2022 Eclipse. All rights reserved.