Packages

c

org.apache.spark.resource

ResourceProfileBuilder

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")
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResourceProfileBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ResourceProfileBuilder()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def build(): ResourceProfile
  6. def clearExecutorResourceRequests(): ResourceProfileBuilder.this.type
  7. def clearTaskResourceRequests(): ResourceProfileBuilder.this.type
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def executorResources: Map[String, ExecutorResourceRequest]
  12. def executorResourcesJMap: Map[String, ExecutorResourceRequest]

    (Java-specific) gets a Java Map of resources to ExecutorResourceRequest

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. 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

  20. 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

  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def taskResources: Map[String, TaskResourceRequest]
  23. def taskResourcesJMap: Map[String, TaskResourceRequest]

    (Java-specific) gets a Java Map of resources to TaskResourceRequest

  24. def toString(): String
    Definition Classes
    ResourceProfileBuilder → AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped