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.
(aggregatefn & body)
(aggregateop? op)
(bufferfn & body)
(bufferiterfn & body)
(bufferop? op)
(defaggregatefn name doc-string? attr-map? [fn-args*] body)
Defines a filtering operation.
Defines a filtering operation.
(defaggregateop sym__2971__auto__ & body__2972__auto__)
(defbufferfn name doc-string? attr-map? [fn-args*] body)
Defines a filtering operation.
Defines a filtering operation.
(defbufferiterfn name doc-string? attr-map? [fn-args*] body)
Defines a filtering operation.
Defines a filtering operation.
(defbufferiterop sym__2971__auto__ & body__2972__auto__)
(defbufferop sym__2971__auto__ & body__2972__auto__)
(defdefop sym & body)
Helper macro to define the def*op macros.
Helper macro to define the def*op macros.
(defdeprecated old new)
(deffilterfn name doc-string? attr-map? [fn-args*] body)
Defines a filtering operation.
Defines a filtering operation.
(deffilterop sym__2971__auto__ & body__2972__auto__)
(defhelper name op-sym body)
(defmapcatfn name doc-string? attr-map? [fn-args*] body)
Defines a mapcat operation.
Defines a mapcat operation.
(defmapcatop sym__2971__auto__ & body__2972__auto__)
(defmapfn name doc-string? attr-map? [fn-args*] body)
Defines a map operation.
Defines a map operation.
(defmapop sym__2971__auto__ & body__2972__auto__)
(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)
(defparallelbuf name
doc-string?
attr-map?
&
{:keys [init-var combine-var extract-var
num-intermediate-vars-fn buffer-var]})
(filterfn & body)
(mapcatfn & body)
(mapfn & body)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close