ProjectedWrite

ferry.ProjectedWrite
See theProjectedWrite companion class

Attributes

Companion
class
Source
ProjectedWrite.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

enum Outcome[+E, +O]

Where an input stands when its call returns. Both are durable; they differ in whether the view is known to have it.

Where an input stands when its call returns. Both are durable; they differ in whether the view is known to have it.

Attributes

Companion
object
Source
ProjectedWrite.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Outcome

Attributes

Companion
enum
Source
ProjectedWrite.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Outcome.type
final case class Projection[Id, +E](pending: Map[Id, E])

What a projection attempt left pending: for each entry whose row is not known to be in the view, why. Empty when the view includes the whole record; the marker is then cleared.

What a projection attempt left pending: for each entry whose row is not known to be in the view, why. Empty when the view includes the whole record; the marker is then cleared.

Attributes

Companion
object
Source
ProjectedWrite.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Projection

Attributes

Companion
class
Source
ProjectedWrite.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Projection.type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def wholeRecord[R, E, K, I, Id, S, O](fold: FoldWrite[R, E, K, I, Id, S, O], pending: S => Boolean, project: (K, S) => ZIO[R, E, Any]): ProjectedWrite[R, E, K, I, Id, S, O]

A ProjectedWrite for a store whose view is one object per record: project writes it and clears the marker, only if the store still holds state, fence and marker alike, and fails otherwise. Nothing is ever left pending.

A ProjectedWrite for a store whose view is one object per record: project writes it and clears the marker, only if the store still holds state, fence and marker alike, and fails otherwise. Nothing is ever left pending.

Attributes

Source
ProjectedWrite.scala