Sqlite Map Write Layer
class SqliteMapWriteLayer<K, V>( name: String, keySerializer: Serializer<K>, valueSerializer: Serializer<V>) : SqliteManager, MapWriteLayer<K, V>
Content copied to clipboard
Implementation of MapWriteLayer that uses sqlite as the storage layer.
Constructors
Link copied to clipboard
fun <K, V> SqliteMapWriteLayer( name: String, keySerializer: Serializer<K>, valueSerializer: Serializer<V>)
Content copied to clipboard
Functions
Link copied to clipboard
Get a hold of a Connection to execute queries. If you're going to do any write operations then you should use tx instead.
Link copied to clipboard
Get a Connection within a transaction. This will just commit for you and rollback in a catch block.