Packages

class ArtifactManager extends AnyRef

The Artifact Manager is responsible for handling and transferring artifacts from the local client to the server (local/remote).

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ArtifactManager
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ArtifactManager(clientConfig: Configuration, sessionId: String, bstub: CustomSparkConnectBlockingStub, stub: CustomSparkConnectStub)

    clientConfig

    The configuration of the client that the artifact manager operates in.

    sessionId

    An unique identifier of the session which the artifact manager belongs to.

    bstub

    A blocking stub to the server.

    stub

    An async stub to the server.

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. def addArtifact(source: String, target: String): Unit

    Add a single artifact to the session while preserving the directory structure specified by target under the session's working directory of that particular file extension.

    Add a single artifact to the session while preserving the directory structure specified by target under the session's working directory of that particular file extension.

    Supported target file extensions are .jar and .class.

    Example

    addArtifact("/Users/dummyUser/files/foo/bar.class", "foo/bar.class")
    addArtifact("/Users/dummyUser/files/flat.class", "flat.class")
    // Directory structure of the session's working directory for class files would look like:
    // ${WORKING_DIR_FOR_CLASS_FILES}/flat.class
    // ${WORKING_DIR_FOR_CLASS_FILES}/foo/bar.class
  5. def addArtifact(bytes: Array[Byte], target: String): Unit

    Add a single in-memory artifact to the session while preserving the directory structure specified by target under the session's working directory of that particular file extension.

    Add a single in-memory artifact to the session while preserving the directory structure specified by target under the session's working directory of that particular file extension.

    Supported target file extensions are .jar and .class.

    Example

    addArtifact(bytesBar, "foo/bar.class")
    addArtifact(bytesFlat, "flat.class")
    // Directory structure of the session's working directory for class files would look like:
    // ${WORKING_DIR_FOR_CLASS_FILES}/flat.class
    // ${WORKING_DIR_FOR_CLASS_FILES}/foo/bar.class
  6. def addArtifact(uri: URI): Unit

    Add a single artifact to the session.

    Add a single artifact to the session.

    Currently it supports local files with extensions .jar and .class and Apache Ivy URIs

  7. def addArtifact(path: String): Unit

    Add a single artifact to the session.

    Add a single artifact to the session.

    Currently only local files with extensions .jar and .class are supported.

  8. def addArtifacts(uris: Seq[URI]): Unit

    Add multiple artifacts to the session.

    Add multiple artifacts to the session.

    Currently it supports local files with extensions .jar and .class and Apache Ivy URIs

  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def cacheArtifact(blob: Array[Byte]): String

    Cache the give blob at the session.

  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  20. def registerClassFinder(finder: ClassFinder): Unit

    Register a ClassFinder for dynamically generated classes.

  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. 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