Object

io.univalence.sparktest

ValueComparison

Related Doc: package sparktest

Permalink

object ValueComparison

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ValueComparison
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class AddValue(value: Value) extends ValueDiff with Product with Serializable

    Permalink
  2. case class ArrayValue(values: Value*) extends Value with Product with Serializable

    Permalink
  3. case class AtomicValue(value: Any) extends TermValue with Product with Serializable

    Permalink
  4. final case class ChangeValue(from: Value, to: Value) extends ValueDiff with Product with Serializable

    Permalink
  5. final case class ObjectModification(index: Index, valueModification: ValueDiff) extends ValueModification with Product with Serializable

    Permalink
  6. case class ObjectValue(fields: (String, Value)*) extends Value with Product with Serializable

    Permalink
  7. final case class RemoveValue(value: Value) extends ValueDiff with Product with Serializable

    Permalink
  8. sealed trait TermValue extends Value

    Permalink
  9. sealed trait Value extends AnyRef

    Permalink
  10. sealed trait ValueDiff extends ValueModification

    Permalink
  11. sealed trait ValueModification extends AnyRef

    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. object NullValue extends TermValue with Product with Serializable

    Permalink
  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 compareValue(v1: ObjectValue, v2: ObjectValue, approx: Double = 0): Seq[ObjectModification]

    Permalink

    Compare two ObjectValue together, see the function fromRow and ADT about values for more information

    Compare two ObjectValue together, see the function fromRow and ADT about values for more information

    v1

    The original ObjectValue

    v2

    The Expected ObjectValue

    returns

    Sequence of ObjectModification between v1 and v2

  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. def fromRow(r: Row): ObjectValue

    Permalink

    Transform a row in an ObjectValue component which is composed by ObjectValue, ArrayValue and TermValue

    Transform a row in an ObjectValue component which is composed by ObjectValue, ArrayValue and TermValue

    r

    the row to be converted

    returns

    the ObjectValue's transposition of the row

  12. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def termValue(a: Any): TermValue

    Permalink

    Convert any value in a TermValue

    Convert any value in a TermValue

    a

    the value to be converted

  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. def toStringModifications(modifications: Seq[ObjectModification]): String

    Permalink

    Transform a list of modification from one row in String

    Transform a list of modification from one row in String

    modifications

    Sequence of modifications from one row

    returns

    Stringified version of the sequence of modifications

  22. def toStringRowsMods(modifications: Seq[ObjectModification], row1: Row, row2: Row): String

    Permalink

    Transform both an original and expected Dataframe's row in String

    Transform both an original and expected Dataframe's row in String

    modifications

    Sequence of modifications from one row

    row1

    Row from the original Dataframe

    row2

    Row from the expected Dataframe

    returns

    Stringified version of the sequence of modifications

  23. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped