Liking cljdoc? Tell your friends :D

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

as-pathclj

(as-path file)
source

close!clj

(close! {:keys [record-writer]})
source

hadoop-confclj

(hadoop-conf)
source

open-parquet-file!clj

(open-parquet-file! k type file & conf)
source

parquet-metadataclj

(parquet-metadata file)

Returns the ParquetMetadata from a file file can be a string, File, or Hadoop Path. Can be used to validate files for correctness also.

Returns the ParquetMetadata from a file
file can be a string, File, or Hadoop Path.
Can be used to validate files for correctness also.
sourceraw docstring

parquet-ok?clj

(parquet-ok? file)

Return nil when the parquet file is corrupt or cannot be read

Return nil when the parquet file is corrupt or cannot be read
sourceraw docstring

parse-schemaclj

(parse-schema schema)

Takes a schema string and parses it into a MessageType

Takes a schema string and parses it into a MessageType
sourceraw docstring

record-writerclj

(record-writer k conf schema file codec)

Create a Parquet Record write that will accept Maps as groups and messages and primitive Java/Clojure types as values

Create a Parquet Record write that will accept Maps as groups and messages and primitive Java/Clojure types as values
sourceraw docstring

write!clj

(write! {:keys [record-writer]} msg)
source

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

× close