public class Cursor extends Object
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<Cursor> |
__TYPE_ARG |
Constructor and Description |
---|
Cursor(io.vertx.sqlclient.Cursor delegate) |
Cursor(Object delegate) |
Modifier and Type | Method and Description |
---|---|
io.reactivex.rxjava3.core.Completable |
close()
Like
close() but with a completionHandler called when the cursor has been released. |
boolean |
equals(Object o) |
io.vertx.sqlclient.Cursor |
getDelegate() |
int |
hashCode() |
boolean |
hasMore()
Returns
true when the cursor has results in progress and the read(int) should be called to retrieve
them. |
boolean |
isClosed() |
static Cursor |
newInstance(io.vertx.sqlclient.Cursor arg) |
io.reactivex.rxjava3.core.Single<RowSet<Row>> |
read(int count)
Read rows from the cursor, the result is provided asynchronously to the
handler . |
io.reactivex.rxjava3.core.Completable |
rxClose()
Like
close() but with a completionHandler called when the cursor has been released. |
io.reactivex.rxjava3.core.Single<RowSet<Row>> |
rxRead(int count)
Read rows from the cursor, the result is provided asynchronously to the
handler . |
String |
toString() |
public Cursor(io.vertx.sqlclient.Cursor delegate)
public Cursor(Object delegate)
public io.vertx.sqlclient.Cursor getDelegate()
public io.reactivex.rxjava3.core.Single<RowSet<Row>> read(int count)
handler
.count
- the amount of rows to readpublic io.reactivex.rxjava3.core.Single<RowSet<Row>> rxRead(int count)
handler
.count
- the amount of rows to readpublic boolean hasMore()
true
when the cursor has results in progress and the read(int)
should be called to retrieve
them.public io.reactivex.rxjava3.core.Completable close()
close()
but with a completionHandler
called when the cursor has been released.public io.reactivex.rxjava3.core.Completable rxClose()
close()
but with a completionHandler
called when the cursor has been released.public boolean isClosed()
public static Cursor newInstance(io.vertx.sqlclient.Cursor arg)
Copyright © 2022 Eclipse. All rights reserved.