case classSparkComputedImports(prepend: String, append: String, access: String) extends Product with Serializable
Compute imports that allow definitions from previous
requests to be visible in a new request. Returns
three pieces of related code:
An initial code fragment that should go before
the code of the new request.
2. A code fragment that should go after the code
of the new request.
3. An access path which can be traversed to access
any bindings inside code wrapped by #1 and #2 .
The argument is a set of Names that need to be imported.
Limitations: This method is not as precise as it could be.
(1) It does not process wildcard imports to see what exactly
they import.
(2) If it imports any names from a request, it imports all
of them, which is not really necessary.
(3) It imports multiple same-named implicits, but only the
last one imported is actually usable.
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Compute imports that allow definitions from previous requests to be visible in a new request. Returns three pieces of related code:
2. A code fragment that should go after the code of the new request.
3. An access path which can be traversed to access any bindings inside code wrapped by #1 and #2 .
The argument is a set of Names that need to be imported.
Limitations: This method is not as precise as it could be. (1) It does not process wildcard imports to see what exactly they import. (2) If it imports any names from a request, it imports all of them, which is not really necessary. (3) It imports multiple same-named implicits, but only the last one imported is actually usable.