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" )
Source
ResourceProfileBuilder.scala
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. All

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( ... ) @native() @IntrinsicCandidate()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): 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[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  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
    @native() @IntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  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( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped