Liking cljdoc? Tell your friends :D

abracad.avro.util

Internal utility functions.

Internal utility functions.
raw docstring

*mangle-names*clj

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-enumcljmacro

(case-enum e & clauses)

Like case, but explicitly dispatch an Java enums.

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

case-exprcljmacro

(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

coerceclj

(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-keywordclj

(field-keyword f)

Keyword for Avro schema field.

Keyword for Avro schema field.
sourceraw docstring

if-not-letcljmacro

(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

mangleclj

(mangle n)

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

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

returningcljmacro

(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

unmangleclj

(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