Liking cljdoc? Tell your friends :D

abracad.avro.util

Internal utility functions.

Internal utility functions.

*mangle-names*

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`.
sourceraw docstring

case-enummacro

(case-enum e & clauses)

Like case, but explicitly dispatch an Java enums.

Like `case`, but explicitly dispatch an Java enums.
sourceraw docstring

case-exprmacro

(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.
sourceraw docstring

coerce

(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`.
sourceraw docstring

field-keyword

(field-keyword f)

Keyword for Avro schema field.

Keyword for Avro schema field.
sourceraw docstring

if-not-letmacro

(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.
sourceraw docstring

mangle

(mangle n)

Perform Clojure->Avro name-mangling when *mangle-names* is true.

Perform Clojure->Avro name-mangling when `*mangle-names*` is true.
sourceraw docstring

returningmacro

(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.
sourceraw docstring

unmangle

(unmangle n)

Reverse Clojure->Avro name-mangling when `mangle-names is true.

Reverse Clojure->Avro name-mangling when `*mangle-names* is true.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close