HashStore

org.sigilaris.node.jvm.storage.HashStore
See theHashStore companion trait
object HashStore

Provides a default HashStore instance derived from a KeyValueStore.

Attributes

Companion
trait
Source
HashStore.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
HashStore.type

Members list

Givens

Givens

given fromKeyValueStore[F[_], A](using evidence$1: Hash[A], kvStore: KeyValueStore[F, Value[A], A]): HashStore[F, A]

Derives a HashStore from an existing KeyValueStore keyed by hash values.

Derives a HashStore from an existing KeyValueStore keyed by hash values.

Type parameters

A

the value type, which must have a Hash instance

F

the effect type

Value parameters

kvStore

the underlying key-value store

Attributes

Returns

a HashStore backed by the given key-value store

Source
HashStore.scala