(->camel-case s)"infer-schema" -> "inferSchema"
"infer-schema" -> "inferSchema"
(class-named class-name)The class with this name, or nil when it isn't on the classpath. Some classes are only there with classic Spark, such as MLlib's, which a Spark Connect client doesn't bring.
The class with this name, or nil when it isn't on the classpath. Some classes are only there with classic Spark, such as MLlib's, which a Spark Connect client doesn't bring.
(import-fn sym alias)Defines alias in the current namespace as a copy of the var sym,
keeping its docstring and arglists. It's one call, so that a namespace
that imports hundreds of vars, as zero-one.geni.core does, still fits the
JVM's limit on a method's size when it's compiled ahead of time.
Defines `alias` in the current namespace as a copy of the var `sym`, keeping its docstring and arglists. It's one call, so that a namespace that imports hundreds of vars, as `zero-one.geni.core` does, still fits the JVM's limit on a method's size when it's compiled ahead of time.
(import-var src alias)Interns alias in the current namespace as a copy of the var src, with
its docstring and arglists, a macro when src is, and following src.
Returns the new var.
Interns `alias` in the current namespace as a copy of the var `src`, with its docstring and arglists, a macro when `src` is, and following `src`. Returns the new var.
(import-vars & specs)Imports vars under their own names: (import-vars [ns a b] [other-ns c]).
Imports vars under their own names: (import-vars [ns a b] [other-ns c]).
(link-vars src dst)Makes dst follow src, so re-evaluating src at the REPL also updates
the imported var.
Makes `dst` follow `src`, so re-evaluating `src` at the REPL also updates the imported var.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |