class SessionResourceLoader extends FunctionResourceLoader
Session shared FunctionResourceLoader.
- Annotations
- @Unstable()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SessionResourceLoader
- FunctionResourceLoader
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SessionResourceLoader(session: SparkSession)
Value Members
-
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. -
def
loadResource(resource: FunctionResource): Unit
- Definition Classes
- SessionResourceLoader → FunctionResourceLoader