Trait/Object

spark.jobserver.python

PythonContextFactory

Related Docs: object PythonContextFactory | package python

Permalink

trait PythonContextFactory extends SparkContextFactory

Linear Supertypes
SparkContextFactory, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PythonContextFactory
  2. SparkContextFactory
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type C <: PythonContextLike

    Permalink
    Definition Classes
    PythonContextFactory → SparkContextFactory
  2. type J = PythonJobContainer[C]

    Permalink
    Definition Classes
    PythonContextFactory → SparkContextFactory

Abstract Value Members

  1. abstract def doMakeContext(sc: SparkContext, contextConfig: Config, contextName: String): C

    Permalink
    Attributes
    protected
  2. abstract def py4JImports: Seq[String]

    Permalink

    returns

    List of classes which will be imported through the gateway by the Python process, using the form java_import(gateway.jvm, "org.apache.spark.SparkConf")

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def buildJob(eggPath: String, modulePath: String): PythonJob[C]

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def loadAndValidateJob(classPath: Seq[String], mainClass: String, jobCache: JobCache): Or[J, LoadingError]

    Permalink

    Loads the job of the given appName, version, and class path, and validates that it is the right type of job given the current context type.

    Loads the job of the given appName, version, and class path, and validates that it is the right type of job given the current context type. For example, it may load a JAR and validate the classpath exists and try to invoke its constructor.

    Definition Classes
    PythonContextFactory → SparkContextFactory
  14. def makeContext(sparkConf: SparkConf, contextConfig: Config, contextName: String): C

    Permalink

    Partial implementation of makeContext to avoid repetition in the ContextFactory implementations.

    Partial implementation of makeContext to avoid repetition in the ContextFactory implementations. Does the generic setup tasks and delegates to doMakeContext

    sparkConf

    the Spark Context configuration.

    contextName

    the name of the context to start

    returns

    the newly created context.

    Definition Classes
    PythonContextFactory → SparkContextFactory
  15. def makeContext(config: Config, contextConfig: Config, contextName: String): C

    Permalink
    Definition Classes
    SparkContextFactory
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def runsPython: Boolean

    Permalink
    Definition Classes
    PythonContextFactory → SparkContextFactory
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. def updateConfig(config: Config): Config

    Permalink
    Definition Classes
    SparkContextFactory
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SparkContextFactory

Inherited from AnyRef

Inherited from Any

Ungrouped