Liking cljdoc? Tell your friends :D

clj-headlights.input-output

Tools for pipeline data input and output

Tools for pipeline data input and output
raw docstring

absolute-path?clj

(absolute-path? resource-string)
source

drop-file-url-protocolclj

(drop-file-url-protocol resource-string)
source

file-url?clj

(file-url? resource-string)
source

gcs-url?clj

(gcs-url? resource-string)
source

multi-sourceclj

(multi-source pipeline name resource-strings)

Take collection of resource strings and return a composite transform which contains all those resources. If collection is empty, return an empty pcollection.

Take collection of resource strings and return a composite transform
which contains all those resources.
If collection is empty, return an empty pcollection.
sourceraw docstring

pubsub-input?clj

(pubsub-input? resource-string)
source

read-json-sourceclj

(read-json-source pcoll composite-name resource-string)

Inputs: [pcoll :- pcollections/PCollectionType composite-name :- s/Str resource-string :- s/Str]

Like resource-string->source, but maps elements from json-strings to objects.

Inputs: [pcoll :- pcollections/PCollectionType composite-name :- s/Str resource-string :- s/Str]

Like resource-string->source, but maps elements from json-strings to objects.
sourceraw docstring

resource-string->pcollectionclj

(resource-string->pcollection pipeline name resource-string)
source

resource-string->sourceclj

(resource-string->source resource-string)

Construct a Dataflow source transform to read from a resource-string. Supported are:

  • Local files (file://)
  • GCS (gs://)
  • PubSub topics / subscriptions
Construct a Dataflow source transform to read from a resource-string.
Supported are:
* Local files (file://)
* GCS (gs://)
* PubSub topics / subscriptions
sourceraw docstring

url->sinkclj

(url->sink url)

Construct a Dataflow sink transform to write text to a url. Supported are:

  • Local files (file://)
  • GCS (gs://)
  • PubSub topics
Construct a Dataflow sink transform to write text to a url.
Supported are:
* Local files (file://)
* GCS (gs://)
* PubSub topics
sourceraw docstring

write-groups-to-partitioned-filesclj

(write-groups-to-partitioned-files pipeline name destination suffix)

Inputs: [pipeline :- pcollections/PCollectionType name :- s/Str destination :- s/Str suffix :- s/Str] Returns: pcollections/PCollectionType

Inputs: [pipeline :- pcollections/PCollectionType name :- s/Str destination :- s/Str suffix :- s/Str]
Returns: pcollections/PCollectionType
sourceraw docstring

write-json-to-sinkclj

(write-json-to-sink pcoll name url)

Like write-to-sink, but maps elements to json before.

Like write-to-sink, but maps elements to json before.
sourceraw docstring

write-to-sinkclj

(write-to-sink pcoll name sink-url)

Construct a Dataflow transform to write text to a sink and apply it to a pcoll. Supported are:

  • Local files (file://)
  • GCS (gs://)
  • PubSub topics
Construct a Dataflow transform to write text to a sink and apply it to a pcoll.
Supported are:
* Local files (file://)
* GCS (gs://)
* PubSub topics
sourceraw docstring

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

× close