Class Cursor
java.lang.Object
io.vertx.reactivex.sqlclient.Cursor
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclose()Release the cursor.booleaninthashCode()booleanhasMore()Returnstruewhen the cursor has results in progress and theread(int)should be called to retrieve them.booleanisClosed()static CursornewInstance(Cursor arg) read(int count) Read rows from the cursor, the result is provided asynchronously to thehandler.Describes rows loaded withread(int).rxClose()Release the cursor.rxRead(int count) Read rows from the cursor, the result is provided asynchronously to thehandler.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
Cursor
-
Cursor
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
rowDescriptor
Describes rows loaded withread(int).This returns
nulluntil the first set of rows is fetched from the database.- Returns:
-
read
-
rxRead
-
hasMore
public boolean hasMore()Returnstruewhen the cursor has results in progress and theread(int)should be called to retrieve them.- Returns:
- whether the cursor has more results,
-
close
-
rxClose
Release the cursor. It should be called for prepared queries executed with a fetch size.- Returns:
-
isClosed
public boolean isClosed()- Returns:
- whether the cursor is closed
-
newInstance
-