Class

io.univalence.sparktest.SparkTest

SparkTestDfOps

Related Doc: package SparkTest

Permalink

implicit class SparkTestDfOps extends AnyRef

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

Instance Constructors

  1. new SparkTestDfOps(thisDf: DataFrame)

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

    Permalink
    Definition Classes
    Any
  5. def assertApproxEquals(otherDf: DataFrame, approx: Double, ignoreNullableFlag: Boolean = false): Unit

    Permalink

    Approximate comparison between two DataFrames.

    Approximate comparison between two DataFrames. If the DataFrames match the instances of Double, Float, or Timestamp, 'approx' will be used to compare an approximate equality of the two DFs.

    otherDf

    DataFrame to compare to

    approx

    double for the approximate comparison. If the absolute value of the difference between two values is less than approx, then the two values are considered equal.

    ignoreNullableFlag

    flag to decide if nullable is ignored or not

  6. def assertColumnEquality(rightLabel: String, leftLabel: String): Unit

    Permalink
  7. def assertEquals[T](l: List[T])(implicit arg0: Encoder[T]): Unit

    Permalink
  8. def assertEquals[T](seq: Seq[T])(implicit arg0: Encoder[T]): Unit

    Permalink
  9. def assertEquals(otherDf: DataFrame, checkRowOrder: Boolean = false, ignoreNullableFlag: Boolean = false, ignoreSchemaFlag: Boolean = false): Unit

    Permalink
  10. def assertEquals2(otherDf: DataFrame): Unit

    Permalink
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def compareColumn(rightLabel: String, leftLabel: String): Boolean

    Permalink
  13. def displayErr(df: DataFrame, otherDf: DataFrame): String

    Permalink
  14. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def getRowsDifferences(otherDf: DataFrame): Seq[Seq[ObjectModification]]

    Permalink
  19. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  24. def reduceColumn(otherDf: DataFrame): DataFrame

    Permalink

    Delete columns that are not in otherDf, cast to the type of otherDf

  25. def reportErrorComparison(otherDf: DataFrame, modifications: Seq[Seq[ObjectModification]]): Unit

    Permalink
  26. def showCaseClass(className: String): Unit

    Permalink

    Display the schema of the DataFrame as a case class.

    Display the schema of the DataFrame as a case class. Example : val df = Seq(1, 2, 3).toDF("id") df.showCaseClass("Id")

    result : case class Id ( id:Int )

    className

    name of the case class

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped