InMemoryProjectionStore

zio.blocks.projection.testing.InMemoryProjectionStore
See theInMemoryProjectionStore companion class

Attributes

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

Members list

Value members

Concrete methods

Creates an empty store: no rows, a watermark of 0, and no schema hash.

Creates an empty store: no rows, a watermark of 0, and no schema hash.

Attributes

Source
InMemoryProjectionStore.scala
def makeWithRefs[A : Schema : EntityPath](map: Map[String, A] = ..., seq: Long = ..., hash: Option[String] = ...): Task[InMemoryProjectionStore[A]]

Creates a store that already holds rows, a watermark and a schema hash, for a test that starts from a known state.

Creates a store that already holds rows, a watermark and a schema hash, for a test that starts from a known state.

Value parameters

hash

the schema hash, or None

map

the rows, keyed by entity ID

seq

the watermark

Attributes

Source
InMemoryProjectionStore.scala