Liking cljdoc? Tell your friends :D

cascalog.cascading.flow


*stats-fn*clj


all-to-memoryclj

(all-to-memory & args)

Return the results of the supplied workflows as data structures. Accepts many workflows, and (optionally) a flow name as the first argument.

Return the results of the supplied workflows as data
structures. Accepts many workflows, and (optionally) a flow name as
the first argument.
raw docstring

assert-success!clj

(assert-success! sm)

Inputs: [sm :- stats/StatsMap]

Inputs: [sm :- stats/StatsMap]
raw docstring

compile-flowclj

(compile-flow & args)

Inputs: [& args] Returns: ClojureFlow

Attaches output taps to some number of subqueries and creates a Cascading flow. The flow can be executed with .complete, or introspection can be done on the flow.

Syntax: (compile-flow sink1 query1 sink2 query2 ...) or (compile-flow flow-name sink1 query1 sink2 query2)

If the first argument is a string, that will be used as the name for the query and will show up in the JobTracker UI.

Inputs: [& args]
Returns: ClojureFlow

Attaches output taps to some number of subqueries and creates a
Cascading flow. The flow can be executed with `.complete`, or
introspection can be done on the flow.

Syntax: (compile-flow sink1 query1 sink2 query2 ...)
or (compile-flow flow-name sink1 query1 sink2 query2)

 If the first argument is a string, that will be used as the name
for the query and will show up in the JobTracker UI.
raw docstring

compile-hadoopclj

(compile-hadoop fd)

Inputs: [fd :- FlowDef] Returns: HadoopFlow

Compiles the supplied FlowDef into a Hadoop flow.

Inputs: [fd :- FlowDef]
Returns: HadoopFlow

Compiles the supplied FlowDef into a Hadoop flow.
raw docstring

flow-defclj

(flow-def {:keys [source-map sink-map trap-map tails name]})

Inputs: [{:keys [source-map sink-map trap-map tails name]} :- ClojureFlow] Returns: FlowDef

Generates an instance of FlowDef off of the supplied ClojureFlow.

Inputs: [{:keys [source-map sink-map trap-map tails name]} :- ClojureFlow]
Returns: FlowDef

Generates an instance of FlowDef off of the supplied ClojureFlow.
raw docstring

graphclj

(graph flow path)

Inputs: [flow :- ClojureFlow path :- s/Str] Returns: ClojureFlow

Writes a dotfile for the flow at hand to the supplied path.

Inputs: [flow :- ClojureFlow path :- s/Str]
Returns: ClojureFlow

Writes a dotfile for the flow at hand to the supplied path.
raw docstring

handle-stats!clj

(handle-stats! sm)

Inputs: [sm :- stats/StatsMap] Returns: stats/StatsMap

If the stats function is bound, passes the supplied stats map in and returns it unchanged.

Inputs: [sm :- stats/StatsMap]
Returns: stats/StatsMap

If the stats function is bound, passes the supplied stats map in
and returns it unchanged.
raw docstring

IRunnablecljprotocol

All runnable items should implement this function.

All runnable items should implement this function.

run!clj

(run! x)

Runs the flow and returns an instance of cascalog.cascading.stats/StatsMap.

Runs the flow and returns an instance of
cascalog.cascading.stats/StatsMap.
raw docstring

jcompile-flowclj

(jcompile-flow & args)

Inputs: [& args] Returns: HadoopFlow

Inputs: [& args]
Returns: HadoopFlow
raw docstring

jflow-defclj

(jflow-def & args)

Inputs: [& args] Returns: FlowDef

Inputs: [& args]
Returns: FlowDef
raw docstring

to-memoryclj

(to-memory m)

Executes the supplied flow and returns the results as a sequence of tuples.

Executes the supplied flow and returns the results as a sequence of
tuples.
raw docstring

with-statscljmacro

(with-stats f & body)

Executes the supplied body with the supplied stats fn.

Executes the supplied body with the supplied stats fn.
raw docstring

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

× close