org.apache.spark.storage

StorageLevel

class StorageLevel extends Externalizable

:: DeveloperApi :: Flags for controlling the storage of an RDD. Each StorageLevel records whether to use memory, or Tachyon, whether to drop the RDD to disk if it falls out of memory or Tachyon , whether to keep the data in memory in a serialized format, and whether to replicate the RDD partitions on multiple nodes.

The org.apache.spark.storage.StorageLevel$ singleton object contains some static constants for commonly useful storage levels. To create your own storage level object, use the factory method of the singleton object (StorageLevel(...)).

Annotations
@DeveloperApi()
Linear Supertypes
Externalizable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StorageLevel
  2. Externalizable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StorageLevel()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): StorageLevel

    Definition Classes
    StorageLevel → AnyRef
  8. def description: String

  9. def deserialized: Boolean

  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(other: Any): Boolean

    Definition Classes
    StorageLevel → AnyRef → Any
  12. def finalize(): Unit

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

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

    Definition Classes
    StorageLevel → AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. def isValid: Boolean

  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. def readExternal(in: ObjectInput): Unit

    Definition Classes
    StorageLevel → Externalizable
  21. def replication: Int

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

    Definition Classes
    AnyRef
  23. def toInt: Int

  24. def toString(): String

    Definition Classes
    StorageLevel → AnyRef → Any
  25. def useDisk: Boolean

  26. def useMemory: Boolean

  27. def useOffHeap: Boolean

  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def writeExternal(out: ObjectOutput): Unit

    Definition Classes
    StorageLevel → Externalizable

Inherited from Externalizable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped