Class

com.spotify.ratatool.diffy

AvroDiffy

Related Doc: package diffy

Permalink

class AvroDiffy[T <: GenericRecord] extends Diffy[T]

Field level diff tool for Avro records.

Linear Supertypes
Diffy[T], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AvroDiffy
  2. Diffy
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AvroDiffy(ignore: Set[String] = Set.empty, unordered: Set[String] = Set.empty, unorderedFieldKeys: Map[String, String] = Map())(implicit arg0: Coder[T])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(x: T, y: T): Seq[Delta]

    Permalink
    Definition Classes
    AvroDiffyDiffy
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def delta(x: Any, y: Any): DeltaValue

    Permalink

    Delta function for comparing a single node between two records.

    Delta function for comparing a single node between two records.

    Definition Classes
    Diffy
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. val ignore: Set[String]

    Permalink

    specify set of fields to ignore during comparison.

    specify set of fields to ignore during comparison.

    Definition Classes
    Diffy
  14. def isAvroRecordType(schema: Schema): Boolean

    Permalink
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def numericDelta(x: Double, y: Double): Double

    Permalink

    Distance function for numeric values, can be overridden by user.

    Distance function for numeric values, can be overridden by user.

    Definition Classes
    Diffy
  20. def sortList[U](l: List[U]): List[U]

    Permalink

    Sort a repeated field.

    Sort a repeated field.

    Elements are default sorted by _.toString since most types we deal with are not comparable.

    Definition Classes
    Diffy
  21. def stringDelta(x: String, y: String): Double

    Permalink

    Distance function for string values, can be overridden by user.

    Distance function for string values, can be overridden by user.

    Definition Classes
    Diffy
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. val unordered: Set[String]

    Permalink

    a list of fields to be treated as unordered, i.e.

    a list of fields to be treated as unordered, i.e. sort before comparison.

    Definition Classes
    Diffy
  25. val unorderedFieldKeys: Map[String, String]

    Permalink

    a map of record field names to fields names that can be keyed by when comparing nested repeated records (currently not support in CLI)

    a map of record field names to fields names that can be keyed by when comparing nested repeated records (currently not support in CLI)

    Definition Classes
    Diffy
  26. def vectorDelta(x: Seq[Double], y: Seq[Double]): Double

    Permalink

    Distance function for vector values, can be overridden by user.

    Distance function for vector values, can be overridden by user.

    Definition Classes
    Diffy
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Diffy[T]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped