ResultSet

A result set representing the query result. The result set is an iterator of the Result objects.

actual class ResultSet : DelegatedClass<<Error class: unknown class>> , Iterable<Result> , AutoCloseable(source)

Functions

Link copied to clipboard
expect fun allResults(): List<Result>

Return List of Results. List is unmodifiable and only supports int get(int index), int size(), boolean isEmpty() and Iterator iterator() methods. Once called allResults(), next() method return null. Don't call next() and allResults() together.

actual fun allResults(): List<Result>
actual fun allResults(): List<Result>
Link copied to clipboard
expect open override fun close()
actual open override fun close()
actual open override fun close()
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
expect open operator override fun iterator(): Iterator<Result>

Return Iterator of Results. Once called iterator(), next() method return null. Don't call next() and iterator() together.

actual open operator override fun iterator(): Iterator<Result>
actual open operator override fun iterator(): Iterator<Result>
Link copied to clipboard
expect operator fun next(): Result?

Move the cursor forward one row from its current row position. Caution: next() method and iterator() method share same data structure. Please don't use them together. Caution: In case ResultSet is obtained from QueryChangeListener, and QueryChangeListener is already removed from Query, ResultSet is already freed. And this next() method returns null.

actual operator fun next(): Result?
actual operator fun next(): Result?
Link copied to clipboard
open override fun toString(): String