Liking cljdoc? Tell your friends :D

cascalog.logic.def

This namespace contains the tools required to define custom Cascalog operations, instantiated with appropriate metadata.

This namespace contains the tools required to define custom
Cascalog operations, instantiated with appropriate metadata.
raw docstring

aggregatefncljmacro

(aggregatefn & body)

aggregateopclj


aggregateop?clj

(aggregateop? op)

bufferfncljmacro

(bufferfn & body)

bufferiterfncljmacro

(bufferiterfn & body)

bufferiteropclj


bufferopclj


bufferop?clj

(bufferop? op)

defaggregatefncljmacro

(defaggregatefn name doc-string? attr-map? [fn-args*] body)

Defines a filtering operation.

Defines a filtering operation.
raw docstring

defaggregateopcljmacro

(defaggregateop sym__2971__auto__ & body__2972__auto__)

defbufferfncljmacro

(defbufferfn name doc-string? attr-map? [fn-args*] body)

Defines a filtering operation.

Defines a filtering operation.
raw docstring

defbufferiterfncljmacro

(defbufferiterfn name doc-string? attr-map? [fn-args*] body)

Defines a filtering operation.

Defines a filtering operation.
raw docstring

defbufferiteropcljmacro

(defbufferiterop sym__2971__auto__ & body__2972__auto__)

defbufferopcljmacro

(defbufferop sym__2971__auto__ & body__2972__auto__)

defdefopcljmacro

(defdefop sym & body)

Helper macro to define the def*op macros.

Helper macro to define the def*op macros.
raw docstring

defdeprecatedcljmacro

(defdeprecated old new)

deffilterfncljmacro

(deffilterfn name doc-string? attr-map? [fn-args*] body)

Defines a filtering operation.

Defines a filtering operation.
raw docstring

deffilteropcljmacro

(deffilterop sym__2971__auto__ & body__2972__auto__)

defhelperclj

(defhelper name op-sym body)

defmapcatfncljmacro

(defmapcatfn name doc-string? attr-map? [fn-args*] body)

Defines a mapcat operation.

Defines a mapcat operation.
raw docstring

defmapcatopcljmacro

(defmapcatop sym__2971__auto__ & body__2972__auto__)

defmapfncljmacro

(defmapfn name doc-string? attr-map? [fn-args*] body)

Defines a map operation.

Defines a map operation.
raw docstring

defmapopcljmacro

(defmapop sym__2971__auto__ & body__2972__auto__)

defparallelaggcljmacro

(defparallelagg name
                doc-string?
                attr-map?
                &
                {:keys [init-var combine-var present-var]})

Binds an efficient aggregator to the supplied symbol. A parallel aggregator processes each tuple through an initializer function, then combines the results each tuple's initialization until one result is achieved. defparallelagg accepts two keyword arguments:

:init-var -- A var bound to a fn that accepts raw tuples and returns an intermediate result; #'one, for example.

:combine-var -- a var bound to a fn that both accepts and returns intermediate results.

For example,

(defparallelagg sum :init-var #'identity :combine-var #'+)

Used as

(sum ?x :> ?y)

Binds an efficient aggregator to the supplied symbol. A parallel
aggregator processes each tuple through an initializer function,
then combines the results each tuple's initialization until one
result is achieved. `defparallelagg` accepts two keyword arguments:

:init-var -- A var bound to a fn that accepts raw tuples and returns
an intermediate result; #'one, for example.

:combine-var -- a var bound to a fn that both accepts and returns
intermediate results.

For example,

(defparallelagg sum
:init-var #'identity
:combine-var #'+)

Used as

(sum ?x :> ?y)
raw docstring

defparallelbufcljmacro

(defparallelbuf name
                doc-string?
                attr-map?
                &
                {:keys [init-var combine-var extract-var
                        num-intermediate-vars-fn buffer-var]})

filterfncljmacro

(filterfn & body)

filteropclj


mapcatfncljmacro

(mapcatfn & body)

mapcatopclj


mapfncljmacro

(mapfn & body)

mapopclj


parallelaggclj

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

× close