Liking cljdoc? Tell your friends :D

clj-headlights.bigquery-io

Common bigquery utilites for clojure dataflow jobs.

Common bigquery utilites for clojure dataflow jobs.
raw docstring

CreateDispositionsclj

source

read-from-queryclj

(read-from-query query)

Inputs: [query :- s/Str] Returns: PTransform

Inputs: [query :- s/Str]
Returns: PTransform
sourceraw docstring

read-from-query-and-extractclj

(read-from-query-and-extract pipeline name query field)

Inputs: [pipeline :- pcollections/PCollectionType name :- s/Str query :- s/Str field :- s/Str] Returns: pcollections/PCollectionType

Inputs: [pipeline :- pcollections/PCollectionType name :- s/Str query :- s/Str field :- s/Str]
Returns: pcollections/PCollectionType
sourceraw docstring

schema-field->bq-fieldclj

(schema-field->bq-field schema-field)
source

table-row-makerclj

(table-row-maker row-as-map schema)
source

to-tablerowclj

(to-tablerow str)
source

writeclj

(write output pcoll)

Inputs: [output :- (s/cond-pre s/Str SerializableFunction) pcoll :- pcollections/PCollectionType] Returns: pcollections/PCollectionType

Write elements of a pcoll to bigquery in json format

Inputs: [output :- (s/cond-pre s/Str SerializableFunction) pcoll :- pcollections/PCollectionType]
Returns: pcollections/PCollectionType

Write elements of a pcoll to bigquery in json format
sourceraw docstring

write-with-schemaclj

(write-with-schema pcoll name output schema write-options)

Inputs: [pcoll :- pcollections/PCollectionType name :- s/Str output :- (s/cond-pre s/Str SerializableFunction) schema :- [{:name s/Str, :type s/Str, (s/optional-key :mode) s/Str}] write-options :- #:s{Keyword s/Any}] Returns: pcollections/PCollectionType

Write elements of a pcoll to bigquery in json format

Inputs: [pcoll :- pcollections/PCollectionType name :- s/Str output :- (s/cond-pre s/Str SerializableFunction) schema :- [{:name s/Str, :type s/Str, (s/optional-key :mode) s/Str}] write-options :- #:s{Keyword s/Any}]
Returns: pcollections/PCollectionType

Write elements of a pcoll to bigquery in json format
sourceraw docstring

WriteDispostionsclj

source

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

× close