Object

org.apache.spark.sql.internal

ContextJarUtils

Related Doc: package internal

Permalink

object ContextJarUtils extends Logging

An utility class to store jar file reference with their individual class loaders. This is to reflect class changes at driver side. e.g. If an UDF definition changes the driver should pick up the correct UDF class. This class can not initialize itself after a driver failure. So the callers will have to make sure that the classloader gets initialized after a driver startup. Usually it can be achieved by adding classloader at query time.

Linear Supertypes
Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ContextJarUtils
  2. Logging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 val DELIMITER: String

    Permalink
  5. final val JAR_PATH: String

    Permalink
  6. def addDriverJar(key: String, classLoader: URLClassLoader): Option[URLClassLoader]

    Permalink
  7. def addFunctionArtifacts(funcDefinition: CatalogFunction, key: String): Unit

    Permalink
  8. def addToTheListInCmdRegion(k: String, item: String, head: String): Unit

    Permalink
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def checkItemExists(k: String, item: String, head: String): Boolean

    Permalink
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def deleteFile(prefix: String, path: String, isEmbedded: Boolean): Unit

    Permalink
  13. final val droppedFunctionsKey: String

    Permalink
  14. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def fetchFile(prefix: String, path: String): URL

    Permalink

    This method will copy the given jar to Spark root directory and then it will add the same jar to Spark.

    This method will copy the given jar to Spark root directory and then it will add the same jar to Spark. This ensures class & jar isolation although it might be repetitive.

    prefix

    prefix to be given to the jar name

    path

    original path of the jar

  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final val functionKeyPrefix: String

    Permalink
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def getDriverJar(key: String): Option[URLClassLoader]

    Permalink
  21. def getDriverJarURLs: Array[URL]

    Permalink
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. def initializeLogIfNecessary(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  24. final def isDebugEnabled: Boolean

    Permalink
    Definition Classes
    Logging
  25. final def isInfoEnabled: Boolean

    Permalink
    Definition Classes
    Logging
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. final def isTraceEnabled: Boolean

    Permalink
    Definition Classes
    Logging
  28. final var levelFlags: Int

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  29. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  30. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  31. def logDebug(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  32. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  33. def logError(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  34. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  35. def logInfo(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  36. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  37. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  38. def logTrace(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  39. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  40. def logWarning(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  41. final var log_: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  42. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  45. def removeDriverJar(key: String): Unit

    Permalink
  46. def removeFromTheListInCmdRegion(k: String, item: String, head: String): Unit

    Permalink
  47. def removeFunctionArtifacts(externalCatalog: SnappyExternalCatalog, sessionCatalog: Option[SnappySessionCatalog], schemaName: String, functionName: String, isEmbeddedMode: Boolean, ignoreIfNotExists: Boolean = false): Unit

    Permalink
  48. def resetLogger(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  49. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  51. final def wait(): Unit

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

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

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

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped