object JavaRDDComparisons extends RDDComparisonsLike with JavaTestSuite
- Alphabetic
- By Inheritance
- JavaRDDComparisons
- JavaTestSuite
- RDDComparisonsLike
- TestSuiteLike
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def assert[U](message: String, expected: U, actual: U)(implicit CT: ClassTag[U]): Unit
- Definition Classes
- JavaTestSuite → TestSuiteLike
- def assert[U](expected: U, actual: U)(implicit CT: ClassTag[U]): Unit
- Definition Classes
- JavaTestSuite → TestSuiteLike
- def assertEmpty[U](arr: Array[U])(implicit CT: ClassTag[U]): Unit
- Definition Classes
- JavaTestSuite → TestSuiteLike
- def assertRDDEquals[T](expected: JavaRDD[T], result: JavaRDD[T]): Unit
Asserts two RDDs are equal (un ordered).
Asserts two RDDs are equal (un ordered). If they are equal assertion succeeds, otherwise assertion fails.
- def assertRDDEquals[T](expected: RDD[T], result: RDD[T])(implicit arg0: ClassTag[T]): Unit
Asserts two RDDs are equal (un ordered).
Asserts two RDDs are equal (un ordered). If they are equal assertion succeeds, otherwise assertion fails.
- Definition Classes
- RDDComparisonsLike
- def assertRDDEqualsWithOrder[T](expected: JavaRDD[T], result: JavaRDD[T]): Unit
Asserts two RDDs are equal (with the same order).
Asserts two RDDs are equal (with the same order). If they are equal assertion succeeds, otherwise assertion fails.
- def assertRDDEqualsWithOrder[T](expected: RDD[T], result: RDD[T])(implicit arg0: ClassTag[T]): Unit
Asserts two RDDs are equal (with the same order).
Asserts two RDDs are equal (with the same order). If they are equal assertion succeeds, otherwise assertion fails.
- Definition Classes
- RDDComparisonsLike
- def assertTrue(expected: Boolean): Unit
- Definition Classes
- JavaTestSuite → TestSuiteLike
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def compareRDD[T](expected: JavaRDD[T], result: JavaRDD[T]): Option[(T, Integer, Integer)]
Compare two RDDs where we do not require the order to be equal.
Compare two RDDs where we do not require the order to be equal. If they are equal returns None, otherwise returns Some with the first mismatch.
- returns
None if the two RDDs are equal, or Some that contains the first mismatch information. Mismatch information will be Tuple3 of: (key, number of times this key occur in expected RDD, number of times this key occur in result RDD)
- def compareRDD[T](expected: RDD[T], result: RDD[T])(implicit arg0: ClassTag[T]): Option[(T, Int, Int)]
Compare two RDDs where we do not require the order to be equal.
Compare two RDDs where we do not require the order to be equal. If they are equal returns None, otherwise returns Some with the first mismatch.
- returns
None if the two RDDs are equal, or Some containing the first mismatch information. The mismatch information will be Tuple3 of: (key, number of times this key occur in expected RDD, number of times this key occur in result RDD)
- Definition Classes
- RDDComparisonsLike
- def compareRDDWithOrder[T](expected: JavaRDD[T], result: JavaRDD[T]): Option[(Option[T], Option[T])]
Compare two RDDs.
Compare two RDDs. If they are equal returns None, otherwise returns Some with the first mismatch. Assumes we have the same partitioner.
- def compareRDDWithOrder[T](expected: RDD[T], result: RDD[T])(implicit arg0: ClassTag[T]): Option[(Option[T], Option[T])]
Compare two RDDs with order (e.g.
Compare two RDDs with order (e.g. [1,2,3] != [3,2,1]) If the partitioners are not the same this requires multiple passes on the input. If they are equal returns None, otherwise returns Some with the first mismatch. If the lengths are not equal, one of the two components may be None.
- Definition Classes
- RDDComparisonsLike
- def compareRDDWithOrderSamePartitioner[T](expected: RDD[T], result: RDD[T])(implicit arg0: ClassTag[T]): Option[(Option[T], Option[T])]
Compare two RDDs.
Compare two RDDs. If they are equal returns None, otherwise returns Some with the first mismatch. Assumes we have the same partitioner.
- Definition Classes
- RDDComparisonsLike
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fail(message: String): Unit
- Definition Classes
- JavaTestSuite → TestSuiteLike
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated