Class

com.spotify.ratatool.diffy

Diffy

Related Doc: package diffy

Permalink

abstract class Diffy[T] extends Serializable

Field level diff tool.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Diffy
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Diffy(ignore: Set[String], unordered: Set[String], unorderedFieldKeys: Map[String, String] = Map())

    Permalink

    ignore

    specify set of fields to ignore during comparison.

    unordered

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

    unorderedFieldKeys

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

Abstract Value Members

  1. abstract def apply(x: T, y: T): Seq[Delta]

    Permalink

Concrete 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. final def asInstanceOf[T0]: T0

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

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

    Permalink

    Delta function for comparing a single node between two records.

  7. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink

    specify set of fields to ignore during comparison.

  13. final def isInstanceOf[T0]: Boolean

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

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

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

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

    Permalink

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

  18. 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.

  19. def stringDelta(x: String, y: String): Double

    Permalink

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

  20. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. 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.

  23. 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)

  24. def vectorDelta(x: Seq[Double], y: Seq[Double]): Double

    Permalink

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

  25. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped