org.sigilaris.node.jvm.storage.StoreIndex
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
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Known subtypes
-
Members list
Returns a paginated list of key-value pairs starting from the given key.
Returns a paginated list of key-value pairs starting from the given key.
Value parameters
-
key
-
the starting key (inclusive)
-
limit
-
maximum number of entries to return
-
offset
-
number of entries to skip from the starting key
Attributes
-
Returns
-
a list of key-value pairs in key order
-
Source
-
StoreIndex.scala
Retrieves the value associated with the given key.
Retrieves the value associated with the given key.
Value parameters
-
key
-
the key to look up
Attributes
-
Returns
-
the value if found, or None
-
Inherited from:
-
KeyValueStore
-
Source
-
KeyValueStore.scala
Associates the given value with the given key, overwriting any existing mapping.
Associates the given value with the given key, overwriting any existing mapping.
Value parameters
-
key
-
the key
-
value
-
the value to store
Attributes
-
Inherited from:
-
KeyValueStore
-
Source
-
KeyValueStore.scala
Removes the mapping for the given key, if it exists.