← Back to Stormify Documentation

readRowsCursor

fun readRowsCursor(query: String, consumer: Consumer<Array<Any?>>, vararg params: Any?): Int

Streams every row to consumer as an array of its column values. See Stormify.readRowsCursor.


fun readRowsCursor(query: String, fetchSize: Int, consumer: Consumer<Array<Any?>>, vararg params: Any?): Int

readRowsCursor fetching fetchSize rows per round trip instead of cursorFetchSize; 0 reads the whole result without a cursor. See Stormify.readRowsCursor.