CachedRowSet
Special implementation of ResultSet, used to hold the query results for Ktorm.
Different from normal result sets, this class is available offline. It's connection independent, it remains available after the connection closed, and it's not necessary to be closed after being used. To create an instance of it, we can use the constructor. This constructor creates a CachedRowSet instance with all data being retrieved from the result set into memory, so we just need to wait for GC to collect them after they are not useful.
statement.executeQuery().use { rs ->
CachedRowSet(rs)
}
Since
2.7
Inheritors
Functions
Get generated key from the row set.
Retrieve the value of the designated column in the current row of this row set object as a java.time.Instant object in the Java programming language.
Retrieve the value of the designated column in the current row of this row set object as a java.time.LocalDate object in the Java programming language.
Retrieve the value of the designated column in the current row of this row set object as a java.time.LocalDateTime object in the Java programming language.
Retrieve the value of the designated column in the current row of this row set object as a java.time.LocalTime object in the Java programming language.