implicit final class PersistenceWrapper[T] extends AnyVal
Sets a StorageLevel for an RDD if it is not set yet.
- T
The type of the RDD being augmented
- Alphabetic
- By Inheritance
- PersistenceWrapper
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PersistenceWrapper(rdd: RDD[T])
- rdd
The RDD to augment
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def persistIfUnpersisted(newLevel: StorageLevel): RDD[T]
Set this RDD's storage level to persist its values across operations after the first time it is computed.
Set this RDD's storage level to persist its values across operations after the first time it is computed. If the RDD already has a storage-level set, this operation will do nothing.
- def toString(): String
- Definition Classes
- Any