Record

zio.schema.Patch.Record
final case class Record[R](differences: ListMap[String, Patch[_]], schema: Record[R]) extends Patch[R]

Map of field-level diffs between two records. The map of differences is keyed to the records field names.

Attributes

Source
Patch.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Patch[R]
class Object
trait Matchable
class Any
Show all
Self type
Record[R]

Members list

Value members

Concrete methods

override def invert: Patch[R]

Attributes

Definition Classes
Source
Patch.scala
override def isComparable: Boolean

Attributes

Definition Classes
Source
Patch.scala
override def isIdentical: Boolean

Attributes

Definition Classes
Source
Patch.scala
def orIdentical: Patch[R]

Attributes

Source
Patch.scala
override def patch(input: R): Either[String, R]

Attributes

Definition Classes
Source
Patch.scala

Inherited methods

def <*>[B](that: Patch[B]): Patch[(R, B)]

A symbolic operator for zip.

A symbolic operator for zip.

Attributes

Inherited from:
Patch
Source
Patch.scala

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala
def zip[B](that: Patch[B]): Patch[(R, B)]

Attributes

Inherited from:
Patch
Source
Patch.scala