public class CursorImpl extends Object implements Cursor
| Modifier and Type | Method and Description |
|---|---|
void |
close(Handler<AsyncResult<Void>> completionHandler)
Like
Cursor.close() but with a completionHandler called when the cursor has been released. |
boolean |
hasMore()
Returns
true when the cursor has results in progress and the Cursor.read(int, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.sqlclient.RowSet<io.vertx.sqlclient.Row>>>) should be called to retrieve
them. |
void |
read(int count,
Handler<AsyncResult<RowSet<Row>>> handler)
Read rows from the cursor, the result is provided asynchronously to the
handler. |
public boolean hasMore()
Cursortrue when the cursor has results in progress and the Cursor.read(int, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.sqlclient.RowSet<io.vertx.sqlclient.Row>>>) should be called to retrieve
them.public void read(int count,
Handler<AsyncResult<RowSet<Row>>> handler)
Cursorhandler.public void close(Handler<AsyncResult<Void>> completionHandler)
CursorCursor.close() but with a completionHandler called when the cursor has been released.Copyright © 2020. All rights reserved.