Internal utility functions.
Internal utility functions.
When true, record field names will be mangled during schema parse and
record de/serialization. Default value is true
.
When true, record field names will be mangled during schema parse and record de/serialization. Default value is `true`.
(case-enum e & clauses)
Like case
, but explicitly dispatch an Java enums.
Like `case`, but explicitly dispatch an Java enums.
(case-expr e & clauses)
Like case, but only supports individual test expressions, which are evaluated at macro-expansion time.
Like case, but only supports individual test expressions, which are evaluated at macro-expansion time.
(coerce c f x)
Coerce x
to be of class c
by applying f
to it iff x
isn't
already an instance of c
.
Coerce `x` to be of class `c` by applying `f` to it iff `x` isn't already an instance of `c`.
(field-keyword f)
Keyword for Avro schema field.
Keyword for Avro schema field.
(if-not-let bindings then else)
Like if-let
, but with order of then
and else
swapped.
Like `if-let`, but with order of `then` and `else` swapped.
(mangle n)
Perform Clojure->Avro name-mangling when *mangle-names*
is true.
Perform Clojure->Avro name-mangling when `*mangle-names*` is true.
(returning expr & body)
Evaluates the result of expr, then evaluates the forms in body (presumably for side-effects), then returns the result of expr.
Evaluates the result of expr, then evaluates the forms in body (presumably for side-effects), then returns the result of expr.
(unmangle n)
Reverse Clojure->Avro name-mangling when `mangle-names is true.
Reverse Clojure->Avro name-mangling when `*mangle-names* is true.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close