Packages

object StorageLevel extends Serializable

Various org.apache.spark.storage.StorageLevel defined and utility functions for creating new storage levels.

Source
StorageLevel.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StorageLevel
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. val DISK_ONLY: StorageLevel
  2. val DISK_ONLY_2: StorageLevel
  3. val DISK_ONLY_3: StorageLevel
  4. val MEMORY_AND_DISK: StorageLevel
  5. val MEMORY_AND_DISK_2: StorageLevel
  6. val MEMORY_AND_DISK_SER: StorageLevel
  7. val MEMORY_AND_DISK_SER_2: StorageLevel
  8. val MEMORY_ONLY: StorageLevel
  9. val MEMORY_ONLY_2: StorageLevel
  10. val MEMORY_ONLY_SER: StorageLevel
  11. val MEMORY_ONLY_SER_2: StorageLevel
  12. val NONE: StorageLevel
  13. val OFF_HEAP: StorageLevel
  14. def apply(in: ObjectInput): StorageLevel

    Read StorageLevel object from ObjectInput stream.

    Read StorageLevel object from ObjectInput stream.

    Annotations
    @DeveloperApi()
  15. def apply(flags: Int, replication: Int): StorageLevel

    Create a new StorageLevel object from its integer representation.

    Create a new StorageLevel object from its integer representation.

    Annotations
    @DeveloperApi()
  16. def apply(useDisk: Boolean, useMemory: Boolean, deserialized: Boolean, replication: Int = 1): StorageLevel

    Create a new StorageLevel object without setting useOffHeap.

    Create a new StorageLevel object without setting useOffHeap.

    Annotations
    @DeveloperApi()
  17. def apply(useDisk: Boolean, useMemory: Boolean, useOffHeap: Boolean, deserialized: Boolean, replication: Int): StorageLevel

    Create a new StorageLevel object.

    Create a new StorageLevel object.

    Annotations
    @DeveloperApi()
  18. def fromString(s: String): StorageLevel

    Return the StorageLevel object with the specified name.

    Return the StorageLevel object with the specified name.

    Annotations
    @DeveloperApi()