Cursor

A cursor that reads progressively rows from the database, it is useful for reading very large result sets.

Members

Functions

close
void close()

Release the cursor. <p/> It should be called for prepared queries executed with a fetch size.

close
void close(AsyncVoidHandler completionHandler)

Like {@link #close()} but with a {@code completionHandler} called when the cursor has been released.

hasMore
bool hasMore()

Returns {@code true} when the cursor has results in progress and the {@link #read} should be called to retrieve them.

read
void read(int count, RowSetHandler handler)

Read rows from the cursor, the result is provided asynchronously to the {@code handler}.

Meta