class ResourceProfileBuilder extends AnyRef
Resource profile builder to build a ResourceProfile to associate with an RDD. A ResourceProfile allows the user to specify executor and task resource requirements for an RDD that will get applied during a stage. This allows the user to change the resource requirements between stages.
- Annotations
- @Evolving() @Since("3.1.0")
- Source
- ResourceProfileBuilder.scala
- Alphabetic
- By Inheritance
- ResourceProfileBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ResourceProfileBuilder()
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def build(): ResourceProfile
- def clearExecutorResourceRequests(): ResourceProfileBuilder.this.type
- def clearTaskResourceRequests(): ResourceProfileBuilder.this.type
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def executorResources: Map[String, ExecutorResourceRequest]
- def executorResourcesJMap: Map[String, ExecutorResourceRequest]
(Java-specific) gets a Java Map of resources to ExecutorResourceRequest
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def require(requests: TaskResourceRequests): ResourceProfileBuilder.this.type
Add task resource requests
Add task resource requests
- requests
The detailed task resource requests, see TaskResourceRequest
- returns
This ResourceProfileBuilder
- def require(requests: ExecutorResourceRequests): ResourceProfileBuilder.this.type
Add executor resource requests
Add executor resource requests
- requests
The detailed executor resource requests, see ExecutorResourceRequests
- returns
This ResourceProfileBuilder
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def taskResources: Map[String, TaskResourceRequest]
- def taskResourcesJMap: Map[String, TaskResourceRequest]
(Java-specific) gets a Java Map of resources to TaskResourceRequest
- def toString(): String
- Definition Classes
- ResourceProfileBuilder → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)