given_Eq_IndexedRecord

dev.constructive.eo.avro.`package`.given_Eq_IndexedRecord
object given_Eq_IndexedRecord extends Eq[IndexedRecord]

Structural equality for IndexedRecord — schema + positional field values, recursing through nested records / arrays / maps.

A public given: downstream property tests and round-trip specs that compare records by value (rather than reference) pick this up via import dev.constructive.eo.avro.given.

Implementation note: defers to org.apache.avro.generic.GenericData.compare which already walks the schema-driven runtime shape recursively. Equal iff compare == 0.

Attributes

Source
package.scala
Graph
Supertypes
trait Eq[IndexedRecord]
trait Serializable
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def eqv(x: IndexedRecord, y: IndexedRecord): Boolean

Returns true if x and y are equivalent, false otherwise.

Returns true if x and y are equivalent, false otherwise.

Attributes

Source
package.scala

Inherited methods

def neqv(x: IndexedRecord, y: IndexedRecord): Boolean

Returns false if x and y are equivalent, true otherwise.

Returns false if x and y are equivalent, true otherwise.

Attributes

Inherited from:
Eq
Source
Eq.scala