public interface PgCursor
Modifier and Type | Method and Description |
---|---|
default void |
close()
Release the cursor.
|
void |
close(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
Like
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 #execute should be called to retrieve
them. |
void |
read(int count,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
Read rows from the cursor, the result is provided asynchronously to the
handler . |
void read(int count, io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler)
handler
.count
- the amount of rows to readhandler
- the handler for the resultboolean hasMore()
true
when the cursor has results in progress and the #execute
should be called to retrieve
them.default void close()
Copyright © 2019 Eclipse. All rights reserved.