org.sigilaris.node.jvm.storage

Members list

Type members

Classlikes

trait HashStore[F[_], A]

Content-addressable store that uses cryptographic hashes as keys.

Content-addressable store that uses cryptographic hashes as keys.

Type parameters

A

the type of values stored, which must be hashable

F

the effect type

Attributes

Companion
object
Source
HashStore.scala
Supertypes
class Object
trait Matchable
class Any
object HashStore

Provides a default HashStore instance derived from a KeyValueStore.

Provides a default HashStore instance derived from a KeyValueStore.

Attributes

Companion
trait
Source
HashStore.scala
Supertypes
class Object
trait Matchable
class Any
Self type
HashStore.type
trait KeyValueStore[F[_], K, V]

Generic key-value store abstraction over an effect type.

Generic key-value store abstraction over an effect type.

Type parameters

F

the effect type

K

the key type

V

the value type

Attributes

Source
KeyValueStore.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class KeyValueSwayStore[K, V]
trait StoreIndex[F, K, V]
trait SingleValueStore[F[_], A]

Store that holds a single optional value.

Store that holds a single optional value.

Type parameters

A

the type of value stored

F

the effect type

Attributes

Companion
object
Source
SingleValueStore.scala
Supertypes
class Object
trait Matchable
class Any

Provides a SingleValueStore derived from a KeyValueStore using a fixed key.

Provides a SingleValueStore derived from a KeyValueStore using a fixed key.

Attributes

Companion
trait
Source
SingleValueStore.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait StoreIndex[F[_], K, V] extends KeyValueStore[F, K, V]

Ordered key-value store that supports range queries starting from a given key.

Ordered key-value store that supports range queries starting from a given key.

Type parameters

F

the effect type

K

the key type (must have an ordering for range queries)

V

the value type

Attributes

Source
StoreIndex.scala
Supertypes
trait KeyValueStore[F, K, V]
class Object
trait Matchable
class Any
Known subtypes