Liking cljdoc? Tell your friends :D

sparq-yoots.core

Main utility functions

Main utility functions
raw docstring

load-dataframeclj

(load-dataframe sql-ctx
                path
                colspecs
                &
                {:keys [fmt] :or {fmt (:default sparq.const/read)}})

Loads dataframe from specification.

Loads dataframe from specification.
sourceraw docstring

load-dataframe-from-schemaclj

(load-dataframe-from-schema sql-ctx path schema fmt)

Loads dataframe with defined schema.

Loads dataframe with defined schema.
sourceraw docstring

load-dataframe-nsclj

(load-dataframe-ns sql-ctx
                   path
                   &
                   {:keys [fmt] :or {fmt (:default sparq.const/read)}})

Loads dataframe with defined schema.

Loads dataframe with defined schema.
sourceraw docstring

load-dataframe-sourcesclj

(load-dataframe-sources
  sql-ctx
  path
  &
  {:keys [schema fmt paths]
   :or {schema nil fmt (:default sparq.const/read) paths nil}})

Loads dataframe with defined schema.

Loads dataframe with defined schema.
sourceraw docstring

load-row-rddclj

(load-row-rdd sql-ctx
              path
              &
              {:keys [fmt] :or {fmt (:default sparq.const/read)}})

Loads row rdd

Loads row rdd
sourceraw docstring

optional-confclj

(optional-conf obj action predicate)
source

rdd->dataframeclj

(rdd->dataframe sql-ctx rdd struct-type)
source

seq->dataframeclj

(seq->dataframe session rows colspecs)
source

variable-confclj

(variable-conf obj a1 a2 predicate)
source

writeclj

(write df
       output
       &
       {:keys [save-mode with-partitions]
        :or {save-mode nil with-partitions nil}})

Persists dataframe in parquet format.

Persists dataframe in parquet format.
sourceraw docstring

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

× close