Liking cljdoc? Tell your friends :D

fileape.conf

Helper namespace related to configuration, all configuration options should have a default and a specific key that can override it

e.g :base-dir default is :base-dir, but for key :a doing :a.base-dir can override it.

Helper namespace related to configuration,
all configuration options should have a default and a specific key that can override it

e.g :base-dir
default is :base-dir, but for key :a doing :a.base-dir can override it.
raw docstring

fileape.core

entry point namespace, for usage see https://github.com/gerritjvv/fileape

(require '[fileape.core :refer :all]) (import '[java.io File DataOutputStream]) (defn callback-f [{:keys [file]}] (prn "File rolled " file)) (def ape2 (ape {:codec :gzip :base-dir "testdir" :check-freq 5000 :rollover-size 134217728 :rollover-timeout 60000 :roll-callbacks [callback-f]})) (write ape2 "abc-123" (fn [{:keys [^DataOutputStream out]}] (.writeInt out (int 1)))) (close ape2)

entry point namespace, for usage see https://github.com/gerritjvv/fileape

(require '[fileape.core :refer :all])
(import '[java.io File DataOutputStream])
(defn callback-f [{:keys [file]}]
   (prn "File rolled " file))
   (def ape2 (ape {:codec :gzip
                   :base-dir "testdir"
                   :check-freq 5000
                   :rollover-size 134217728
                   :rollover-timeout 60000
                   :roll-callbacks [callback-f]}))
                   (write ape2 "abc-123" (fn [{:keys [^DataOutputStream out]}]
                                               (.writeInt out (int 1))))
    (close ape2)
raw docstring

fileape.io-plugin

Provide protocols to allow extension for different storage and compression architectures e.g OutputStream gzip, lzo and partquet

Provide protocols to allow extension for different storage and compression architectures
e.g OutputStream gzip, lzo and partquet
raw docstring

fileape.parquet.write-support

Implement java write support for parquet the different types and cases that can be written is done via multimethods while the actual WriterSupport is reified

Implement java write support for parquet
the different types and cases that can be written is
done via multimethods while the actual WriterSupport is reified
raw docstring

fileape.parquet.writer

Support writing parquet files Usage: (def pf (open-parquet-file! k (parse-schema "message test{ required binary name; repeated int32 age;}") fname)) (write! pf {"name" "hi" "age" [1 2 3]}) (close! pf)

Support writing parquet files
Usage:
  (def pf (open-parquet-file! k (parse-schema "message test{ required binary name; repeated int32 age;}") fname))
  (write! pf {"name" "hi" "age" [1 2 3]})
  (close! pf)

  
raw docstring

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

× close