Flags for controlling the storage of an RDD. Each StorageLevel records whether to use memory,
whether to drop the RDD to disk if it falls out of memory, whether to keep the data in memory
in a serialized format, and whether to replicate the RDD partitions on multiple nodes.
The spark.storage.StorageLevel$ singleton object contains some static constants for
commonly useful storage levels.
Linear Supertypes
Externalizable, Serializable, AnyRef, Any
Ordering
Alphabetic
By inheritance
Inherited
Hide All
Show all
StorageLevel
Externalizable
Serializable
AnyRef
Any
Visibility
Public
All
Instance Constructors
newStorageLevel()
newStorageLevel(flags: Int, replication: Int)
newStorageLevel(useDisk: Boolean, useMemory: Boolean, deserialized: Boolean, replication: Int = 1)
Flags for controlling the storage of an RDD. Each StorageLevel records whether to use memory, whether to drop the RDD to disk if it falls out of memory, whether to keep the data in memory in a serialized format, and whether to replicate the RDD partitions on multiple nodes. The spark.storage.StorageLevel$ singleton object contains some static constants for commonly useful storage levels.