INativeCursorWindowSQLite

Optional native cursor-window operations implemented by SQLite backends that can materialise a result set directly into off-heap memory.

Since

1.1.0

Functions

Link copied to clipboard
open fun fillCursorWindow(statement: StatementHandle, startRow: Int, maxRows: Int, countAllRows: Boolean): ByteBuffer?
abstract fun fillCursorWindow(statement: Long, startRow: Int, maxRows: Int, countAllRows: Boolean): ByteBuffer?
open fun fillCursorWindow(statement: StatementHandle, startRow: Int, maxRows: Int, countAllRows: Boolean, maxBytes: Int): ByteBuffer?

open fun fillCursorWindow(statement: Long, startRow: Int, maxRows: Int, countAllRows: Boolean, maxBytes: Int): ByteBuffer?

Fills a cursor window whose packed representation does not exceed maxBytes.

Link copied to clipboard
abstract fun freeCursorWindow(buffer: ByteBuffer)

Releases the exact buffer instance returned by fillCursorWindow.