kofre.dotted

package kofre.dotted

Members list

Type members

Classlikes

case class DotFun[A](repr: Map[Dot, A])

A dot fun tracks a set of values associated to a certain point in time. This makes them useful as both kofre.datatypes.contextual.MultiVersionRegister and simple observe remove sets/maps.

A dot fun tracks a set of values associated to a certain point in time. This makes them useful as both kofre.datatypes.contextual.MultiVersionRegister and simple observe remove sets/maps.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object DotFun

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
DotFun.type
case class DotMap[K, V](repr: Map[K, V])

DotMap is just a container to use maps in a dotted context. Merge/<= are done per entry, with missing entries replaced by Bottom.empty. Decompose decomposes all components.

DotMap is just a container to use maps in a dotted context. Merge/<= are done per entry, with missing entries replaced by Bottom.empty. Decompose decomposes all components.

See kofre.datatypes.contextual.ObserveRemoveMap for a usage example.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object DotMap

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
DotMap.type
case class DotSet(repr: Dots)

DotsSets track causality of events without values. They are the prototype of an kofre.datatypes.contextual.EnableWinsFlag

DotsSets track causality of events without values. They are the prototype of an kofre.datatypes.contextual.EnableWinsFlag

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object DotSet

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
DotSet.type
case class Dotted[A](data: A, context: Dots)

Associates a context of Dots with some data structure. The most common use is to interpret the context as the set of: • all dots that are present in data • all dots directly subsumed by data

Associates a context of Dots with some data structure. The most common use is to interpret the context as the set of: • all dots that are present in data • all dots directly subsumed by data

Specifically, the deletions and contained methods reflect this interpretation.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Dotted

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Dotted.type
object DottedLattice

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
trait HasDots[A]

HasDots implies that the container stores values that are somehow associated to individual kofre.time.Dots. This is different from a dot context, which could also contain dots for deleted values or other metadata. HasDots is explicitly for dots that are present/existing in some datastructures right now.

HasDots implies that the container stores values that are somehow associated to individual kofre.time.Dots. This is different from a dot context, which could also contain dots for deleted values or other metadata. HasDots is explicitly for dots that are present/existing in some datastructures right now.

See also: Dot stores in delta state replicated data types

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object hasDots.type
class ProductHasDots[T]
object hasDot.type
object HasDots

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
HasDots.type

Types

type DottedLattice[T] = Lattice[Dotted[T]]