Packages

c

org.apache.spark.sql.internal

SessionResourceLoader

class SessionResourceLoader extends FunctionResourceLoader

Session shared FunctionResourceLoader.

Annotations
@Unstable()
Linear Supertypes
FunctionResourceLoader, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SessionResourceLoader
  2. FunctionResourceLoader
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SessionResourceLoader(session: SparkSession)

Value Members

  1. def addJar(path: String): Unit

    Add a jar path to SparkContext and the classloader.

    Add a jar path to SparkContext and the classloader.

    Note: this method seems not access any session state, but a Hive based SessionState needs to add the jar to its hive client for the current session. Hence, it still needs to be in SessionState.

  2. def loadResource(resource: FunctionResource): Unit
    Definition Classes
    SessionResourceLoader → FunctionResourceLoader
  3. def resolveJars(path: URI): Seq[String]