Liking cljdoc? Tell your friends :D

cascalog.cascading.tap


cascalog-tapclj

(cascalog-tap source sink)

fill-tap!clj

(fill-tap! tap xs)

get-sink-tuplesclj

(get-sink-tuples sink)

glob-hfsclj

(glob-hfs scheme path-or-file source-pattern)

hfsclj

(hfs scheme path-or-file)
(hfs scheme path-or-file sinkmode)

hfs-seqfileclj

(hfs-seqfile path & opts)

Creates a tap on HDFS using sequence file format. Different filesystems can be selected by using different prefixes for path.

Supports keyword option for :outfields. See cascalog.cascading.tap/hfs-tap for more keyword arguments.

See http://www.cascading.org/javadoc/cascading/tap/Hfs.html and http://www.cascading.org/javadoc/cascading/scheme/SequenceFile.html

Creates a tap on HDFS using sequence file format. Different
 filesystems can be selected by using different prefixes for `path`.

Supports keyword option for `:outfields`. See
`cascalog.cascading.tap/hfs-tap` for more keyword arguments.

 See http://www.cascading.org/javadoc/cascading/tap/Hfs.html and
 http://www.cascading.org/javadoc/cascading/scheme/SequenceFile.html
raw docstring

hfs-tapclj

(hfs-tap scheme
         path-or-file
         &
         {:keys [sinkmode sinkparts sink-template source-pattern templatefields]
          :as options})

Returns a Cascading Hfs tap with support for the supplied scheme, opened up on the supplied path or file object. Supported keyword options are:

:sinkmode - can be :keep, :update or :replace.

:sinkparts - used to constrain the segmentation of output files.

:source-pattern - Causes resulting tap to respond as a GlobHfs tap when used as source.

:sink-template - Causes resulting tap to respond as a TemplateTap when used as a sink.

:templatefields - When pattern is supplied via :sink-template, this option allows a subset of output fields to be used in the naming scheme.

See f.ex. the http://docs.cascading.org/cascading/2.0/javadoc/cascading/scheme/local/TextDelimited.html scheme.

Returns a Cascading Hfs tap with support for the supplied scheme,
opened up on the supplied path or file object. Supported keyword
options are:

`:sinkmode` - can be `:keep`, `:update` or `:replace`.

`:sinkparts` - used to constrain the segmentation of output files.

`:source-pattern` - Causes resulting tap to respond as a GlobHfs tap
when used as source.

`:sink-template` - Causes resulting tap to respond as a TemplateTap when
used as a sink.

`:templatefields` - When pattern is supplied via :sink-template,
this option allows a subset of output fields to be used in the
naming scheme.

See f.ex. the
http://docs.cascading.org/cascading/2.0/javadoc/cascading/scheme/local/TextDelimited.html
scheme.
raw docstring

hfs-textlineclj

(hfs-textline path & opts)

Creates a tap on HDFS using textline format. Different filesystems can be selected by using different prefixes for path. Supported keyword options are:

:outfields - used to select the fields written to the tap

:compression - one of :enable, :disable or :default

See cascalog.cascading.tap/hfs-tap for more keyword arguments.

See http://www.cascading.org/javadoc/cascading/tap/Hfs.html and http://www.cascading.org/javadoc/cascading/scheme/TextLine.html

Creates a tap on HDFS using textline format. Different filesystems
can be selected by using different prefixes for `path`. Supported
keyword options are:

`:outfields` - used to select the fields written to the tap

`:compression` - one of `:enable`, `:disable` or `:default`

See `cascalog.cascading.tap/hfs-tap` for more keyword arguments.

See http://www.cascading.org/javadoc/cascading/tap/Hfs.html and
http://www.cascading.org/javadoc/cascading/scheme/TextLine.html
raw docstring

iter-seqclj

(iter-seq iter f)

lfsclj

(lfs scheme path-or-file)
(lfs scheme path-or-file sinkmode)

lfs-seqfileclj

(lfs-seqfile path & opts)

Creates a tap that reads data off of the local filesystem in sequence file format.

Supports keyword option for :outfields. See cascalog.cascading.tap/lfs-tap for more keyword arguments.

See http://www.cascading.org/javadoc/cascading/tap/Lfs.html and http://www.cascading.org/javadoc/cascading/scheme/SequenceFile.html

Creates a tap that reads data off of the local filesystem in
 sequence file format.

Supports keyword option for `:outfields`. See
`cascalog.cascading.tap/lfs-tap` for more keyword arguments.

 See http://www.cascading.org/javadoc/cascading/tap/Lfs.html and
 http://www.cascading.org/javadoc/cascading/scheme/SequenceFile.html
raw docstring

lfs-tapclj

(lfs-tap scheme
         path-or-file
         &
         {:keys [sinkmode sinkparts sink-template source-pattern templatefields]
          :as options})

Returns a Cascading Lfs tap with support for the supplied scheme, opened up on the supplied path or file object. Supported keyword options are:

:sinkmode - can be :keep, :update or :replace.

:sinkparts - used to constrain the segmentation of output files.

:source-pattern - Causes resulting tap to respond as a GlobHfs tap when used as source.

:sink-template - Causes resulting tap to respond as a TemplateTap when used as a sink.

:templatefields - When pattern is supplied via :sink-template, this option allows a subset of output fields to be used in the naming scheme.

Returns a Cascading Lfs tap with support for the supplied scheme,
opened up on the supplied path or file object. Supported keyword
options are:

`:sinkmode` - can be `:keep`, `:update` or `:replace`.

`:sinkparts` - used to constrain the segmentation of output files.

`:source-pattern` - Causes resulting tap to respond as a GlobHfs tap
when used as source.

`:sink-template` - Causes resulting tap to respond as a TemplateTap
when used as a sink.

`:templatefields` - When pattern is supplied via :sink-template,
this option allows a subset of output fields to be used in the
naming scheme.
raw docstring

lfs-textlineclj

(lfs-textline path & opts)

Creates a tap on the local filesystem using textline format.

Supports keyword option for :outfields. See cascalog.cascading.tap/lfs-tap for more keyword arguments.

See http://www.cascading.org/javadoc/cascading/tap/Lfs.html and http://www.cascading.org/javadoc/cascading/scheme/TextLine.html

Creates a tap on the local filesystem using textline format.

Supports keyword option for `:outfields`. See
`cascalog.cascading.tap/lfs-tap` for more keyword arguments.

 See http://www.cascading.org/javadoc/cascading/tap/Lfs.html and
 http://www.cascading.org/javadoc/cascading/scheme/TextLine.html
raw docstring

memory-source-tapclj

(memory-source-tap tuples)
(memory-source-tap fields-in tuples)

pluck-tupleclj

(pluck-tuple tap)

sequence-fileclj

(sequence-file field-names)

set-sinkparts!clj

(set-sinkparts! scheme sinkparts)

If sinkparts is truthy, returns the supplied cascading scheme with the sinkparts field updated appropriately; else, acts as identity. identity.

If `sinkparts` is truthy, returns the supplied cascading scheme
with the `sinkparts` field updated appropriately; else, acts as
identity.  identity.
raw docstring

stdoutclj

(stdout)

Creates a tap that prints tuples sunk to it to standard output. Useful for experimentation in the REPL.

Creates a tap that prints tuples sunk to it to standard
output. Useful for experimentation in the REPL.
raw docstring

template-tapclj

(template-tap parent sink-template)
(template-tap parent
              sink-template
              {:keys [templatefields open-threshold]
               :or {templatefields Fields/ALL open-threshold 300}})

text-lineclj

(text-line)
(text-line field-names)
(text-line source-fields sink-fields)
(text-line source-fields sink-fields compression)

valid-sinkmode?clj

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

× close