Packages

implicit final class UnpersistWrapper extends AnyVal

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

Instance Constructors

  1. new UnpersistWrapper(sc: SparkContext)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  7. val sc: SparkContext
  8. def toString(): String
    Definition Classes
    Any
  9. def unpersistRDDs(): Unit

    Un-persists all cached RDDs.

    Un-persists all cached RDDs.

    Note

    this function is meant to be used after a driver task execution or after a test suite execution. That is when actions on cached RDDs are completed. Un-persisting an RDD before calling an action on it will simply vanish any previous persist call on it.

  10. def unpersistSomeRDDs(shouldUnpersist: (RDD[_]) ⇒ Boolean): Unit

    Un-persists cached RDDs where the predicate is true.

    Un-persists cached RDDs where the predicate is true.

    shouldUnpersist

    function which returns true if the RDD should be unpersisted

    Note

    this function is meant to be used after a driver task execution or after a test suite execution. That is when actions on cached RDDs are completed. Un-persisting an RDD before calling an action on it will simply vanish any previous persist call on it.

Inherited from AnyVal

Inherited from Any

Ungrouped