object StorageLevel extends Serializable
Various org.apache.spark.storage.StorageLevel defined and utility functions for creating new storage levels.
- Source
- StorageLevel.scala
- Alphabetic
- By Inheritance
- StorageLevel
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val DISK_ONLY: StorageLevel
- val DISK_ONLY_2: StorageLevel
- val MEMORY_AND_DISK: StorageLevel
- val MEMORY_AND_DISK_2: StorageLevel
- val MEMORY_AND_DISK_SER: StorageLevel
- val MEMORY_AND_DISK_SER_2: StorageLevel
- val MEMORY_ONLY: StorageLevel
- val MEMORY_ONLY_2: StorageLevel
- val MEMORY_ONLY_SER: StorageLevel
- val MEMORY_ONLY_SER_2: StorageLevel
- val NONE: StorageLevel
- val OFF_HEAP: StorageLevel
-
def
apply(in: ObjectInput): StorageLevel
:: DeveloperApi :: Read StorageLevel object from ObjectInput stream.
:: DeveloperApi :: Read StorageLevel object from ObjectInput stream.
- Annotations
- @DeveloperApi()
-
def
apply(flags: Int, replication: Int): StorageLevel
:: DeveloperApi :: Create a new StorageLevel object from its integer representation.
:: DeveloperApi :: Create a new StorageLevel object from its integer representation.
- Annotations
- @DeveloperApi()
-
def
apply(useDisk: Boolean, useMemory: Boolean, deserialized: Boolean, replication: Int = 1): StorageLevel
:: DeveloperApi :: Create a new StorageLevel object without setting useOffHeap.
:: DeveloperApi :: Create a new StorageLevel object without setting useOffHeap.
- Annotations
- @DeveloperApi()
-
def
apply(useDisk: Boolean, useMemory: Boolean, useOffHeap: Boolean, deserialized: Boolean, replication: Int): StorageLevel
:: DeveloperApi :: Create a new StorageLevel object.
:: DeveloperApi :: Create a new StorageLevel object.
- Annotations
- @DeveloperApi()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromString(s: String): StorageLevel
:: DeveloperApi :: Return the StorageLevel object with the specified name.
:: DeveloperApi :: Return the StorageLevel object with the specified name.
- Annotations
- @DeveloperApi()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()