org.sigilaris.node.jvm.storage.swaydb.StoreIndexSwayInterpreter
See theStoreIndexSwayInterpreter companion class
object StoreIndexSwayInterpreter
Attributes
- Companion
- class
- Source
- StoreIndexSwayInterpreter.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Members list
Value members
Concrete methods
def apply[K, V](dir: Path)(using evidence$1: ByteEncoder[K], evidence$2: ByteDecoder[K], evidence$3: ByteEncoder[V], evidence$4: ByteDecoder[V], Async[IO]): IO[StoreIndexSwayInterpreter[K, V]]
Creates a new StoreIndexSwayInterpreter by opening a persistent SwayDB map at the given directory.
Creates a new StoreIndexSwayInterpreter by opening a persistent SwayDB map at the given directory.
Type parameters
- K
-
the key type
- V
-
the value type
Value parameters
- dir
-
the filesystem directory for the SwayDB storage
Attributes
- Returns
-
an IO that yields the constructed store index
- Source
- StoreIndexSwayInterpreter.scala
Validates that a decode result consumed all bytes, returning a DecodeFailure if not.
Validates that a decode result consumed all bytes, returning a DecodeFailure if not.
Type parameters
- A
-
the decoded value type
Value parameters
- decoded
-
the decode result to validate
- message
-
the error message if there is a non-empty remainder
Attributes
- Returns
-
the decoded value, or a
DecodeFailure - Source
- StoreIndexSwayInterpreter.scala
Givens
Givens
Attributes
Attributes
Attributes
Attributes
In this article