org.sigilaris.node.jvm.storage.swaydb.KeyValueSwayStore
See theKeyValueSwayStore companion object
final class KeyValueSwayStore[K, V](map: Map[K, Array[Byte], Nothing, IO])(using evidence$1: ByteEncoder[V], evidence$2: ByteDecoder[V]) extends KeyValueStore[IO, K, V]
KeyValueStore implementation backed by a SwayDB persistent map.
Values are serialized to byte arrays using ByteEncoder/ByteDecoder.
Type parameters
- K
-
the key type
- V
-
the value type, which must have byte codec instances
Value parameters
- map
-
the underlying SwayDB map
Attributes
- Companion
- object
- Source
- KeyValueSwayStore.scala
- Graph
-
- Supertypes
Members list
In this article