Liking cljdoc? Tell your friends :D

hdfs.core


absolute-pathclj

(absolute-path path & [config])

Returns the absolute path.

Returns the absolute `path`.
sourceraw docstring

buffered-readerclj

(buffered-reader path)

Open path and return a BufferedReader.

Open `path` and return a BufferedReader.
sourceraw docstring

buffered-writerclj

(buffered-writer path)

Open path and return a BufferedWriter.

Open `path` and return a BufferedWriter.
sourceraw docstring

compression-codecclj

(compression-codec path)

Returns the compression codec for path.

Returns the compression codec for path.
sourceraw docstring

configurationclj

(configuration)

Returns the Hadoop configuration.

Returns the Hadoop configuration.
sourceraw docstring

copy-from-local-fileclj

(copy-from-local-file source destination & {:keys [overwrite]})

Copy the local file from source to destination.

Copy the local file from `source` to `destination`.
sourceraw docstring

copy-matchingclj

(copy-matching pattern destination & {:keys [header delete-source overwrite]})

Copy all files matching pattern to the output file destination.

Copy all files matching `pattern` to the output file `destination`.
sourceraw docstring

copy-mergeclj

(copy-merge source-dir destination & {:keys [header delete-source overwrite]})

Copy all files in source-dir to the output file destination.

Copy all files in `source-dir` to the output file `destination`.
sourceraw docstring

copy-to-local-fileclj

(copy-to-local-file source destination)

Copy the file from source to destination on the local filesystem.

Copy the file from `source` to `destination` on the local filesystem.
sourceraw docstring

crc-filenameclj

(crc-filename filename)

Returns the filename to the CRC file of filename.

Returns the filename to the CRC file of `filename`.
sourceraw docstring

crc-pathclj

(crc-path filename)

Returns the path to the CRC file of filename.

Returns the path to the CRC file of `filename`.
sourceraw docstring

deleteclj

(delete path & [recursive])

Delete path recursively.

Delete `path` recursively.
sourceraw docstring

delete-all-fsclj

(delete-all-fs fs paths)
source

directory?clj

(directory? path)

Returns true if path is a directory, otherwise false.

Returns true if `path` is a directory, otherwise false.
sourceraw docstring

exists?clj

(exists? path)

Returns true if path exists, otherwise false.

Returns true if `path` exists, otherwise false.
sourceraw docstring

file-sizeclj

(file-size path)

Returns the file size of path.

Returns the file size of `path`.
sourceraw docstring

file-statusclj

(file-status path)

Returns a file status object that represents the path.

Returns a file status object that represents the path.
sourceraw docstring

file?clj

(file? path)

Returns true if path is a file, otherwise false.

Returns true if `path` is a file, otherwise false.
sourceraw docstring

filesystemclj

(filesystem path & [config])

Returns the Hadoop filesystem from path.

Returns the Hadoop filesystem from `path`.
sourceraw docstring

glob-pathsclj

(glob-paths pattern)

Return a seq of Path objects that match pattern and are not checksum files.

Return a seq of Path objects that match `pattern` and are not checksum files.
sourceraw docstring

glob-statusclj

(glob-status pattern)

Return all the files that match pattern and are not checksum files.

Return all the files that match `pattern` and are not checksum files.
sourceraw docstring

input-streamclj

(input-stream path)

Open path and return a FSDataInputStream.

Open `path` and return a FSDataInputStream.
sourceraw docstring

list-file-statusclj

(list-file-status path & [recursively])

List the status of all files in directory.

List the status of all files in directory.
sourceraw docstring

make-directoryclj

(make-directory path)

Make the given path and all non-existent parents into directories.

Make the given path and all non-existent parents into directories.
sourceraw docstring

make-parentsclj

(make-parents path & [permissions])

Make the given path and all non-existent parents into directories.

Make the given path and all non-existent parents into directories.
sourceraw docstring

make-pathclj

(make-path arg)
(make-path parent child)
(make-path parent child & more)

Returns a org.apache.hadoop.fs.Path, passing each arg to make-path. Multiple-arg versions treat the first argument as parent and subsequent args as children relative to the parent.

Returns a org.apache.hadoop.fs.Path, passing each arg to
make-path. Multiple-arg versions treat the first argument as parent
and subsequent args as children relative to the parent.
sourceraw docstring

output-streamclj

(output-stream path)

Open path and return a FSDataOutputStream.

Open `path` and return a FSDataOutputStream.
sourceraw docstring

part-file-seqclj

(part-file-seq directory & [recursively])

Returns a seq of part files in directory

Returns a seq of part files in `directory`
sourceraw docstring

path?clj

(path? arg)

Returns true if arg is a Path, otherwise false.

Returns true if `arg` is a Path, otherwise false.
sourceraw docstring

(print-writer path)

Open path and return a BufferedWriter.

Open `path` and return a BufferedWriter.
sourceraw docstring

qualified-pathclj

(qualified-path path & [config])

Returns the qualified path.

Returns the qualified `path`.
sourceraw docstring

read-linesclj

(read-lines input)

Read lines from input.

Read lines from `input`.
sourceraw docstring

renameclj

(rename source destination & [overwrite])

Renames source to Path destination.

Renames `source` to Path `destination`.
sourceraw docstring

sequence-file-seqclj

(sequence-file-seq path)

Returns the concatenation of the content of all sequence files that match pattern as a lazy seq.

Returns the concatenation of the content of all sequence files that
match `pattern` as a lazy seq.
sourceraw docstring

sequence-file-seq*clj

(sequence-file-seq* path)

Returns the content of the sequence file at path as a lazy seq.

Returns the content of the sequence file at `path` as a lazy seq.
sourceraw docstring

sequence-file-writerclj

(sequence-file-writer path key val)

Returns a sequence file writer for key and val classes.

Returns a sequence file writer for `key` and `val` classes.
sourceraw docstring

slurpclj

(slurp f & opts)
source

spitclj

(spit f content & opts)
source

with-fs-tmpcljmacro

(with-fs-tmp [fs-sym & tmp-syms] & body)

Generates unique, temporary path names as subfolders of <root>/cascalog_reserved. <root> by default will be '/tmp', but you can configure it via the JobConf property cascalog.io/tmp-dir-property.

Generates unique, temporary path names as subfolders of <root>/cascalog_reserved.
<root> by default will be '/tmp', but you can configure it via the
JobConf property `cascalog.io/tmp-dir-property`.
sourceraw docstring

write-linesclj

(write-lines output lines & [transform-fn])

Write lines to output.

Write `lines` to `output`.
sourceraw docstring

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

× close