Liking cljdoc? Tell your friends :D

duratom.utils


assert-not-released!cljmacro

(assert-not-released! release-fn)
source

bucket-exists?clj

(bucket-exists? creds bucket-name)
source

create-dedicated-table!clj

(create-dedicated-table! db-config table-name col-type)
source

create-s3-bucketclj

(create-s3-bucket creds bucket-name)
source

delete-object-from-s3clj

(delete-object-from-s3 credentials bucket-name k)
source

delete-relevant-row!clj

(delete-relevant-row! config table-name row-id)
source

get-pgsql-valueclj

(get-pgsql-value db table-name row-id read-it!)
source

get-value-from-s3clj

(get-value-from-s3 creds bucket-name k metadata read-it!)
source

iobj->edn-tagclj

(iobj->edn-tag coll)

Helper fn for constructing ObjectWithMeta wrapper. An object of this type will essentially be serialised as a vector of two elements - the <coll> and its metadata map. It will be read back as <coll> with the right metadata attached.

Helper fn for constructing ObjectWithMeta wrapper.
An object of this type will essentially be serialised
as a vector of two elements - the <coll> and its metadata map.
It will be read back as <coll> with the right metadata attached.
sourceraw docstring

lock?cljmacro

(lock? l)
source

move-file!clj

(move-file! source target)
source

move-optsclj

source

pr-str-fullyclj

(pr-str-fully unpack-meta? & xs)

Wrapper around pr-str which binds print-length & print-length to nil.

Wrapper around `pr-str` which binds
*print-length* & *print-length* to nil.
sourceraw docstring

read-edn-objectclj

(read-edn-object source)
(read-edn-object opts source)
(read-edn-object opts _ source)

Efficiently read one data structure from a stream.

Efficiently read one data structure from a stream.
sourceraw docstring

read-edn-objectsclj

(read-edn-objects opts source)

Efficiently multiple data structures from a stream.

Efficiently multiple data structures from a stream.
sourceraw docstring

read-edn-stringclj

(read-edn-string s)
(read-edn-string opts s)

Efficiently read one data structure from a stream.

Efficiently read one data structure from a stream.
sourceraw docstring

releaserclj

(releaser)
source

s3-bucket-bytesclj

(s3-bucket-bytes s3-in)
(s3-bucket-bytes buffer-size s3-in)

A helper for pulling out the bytes out of an S3 bucket, which has the potential for zero copying.

A helper for pulling out the bytes out of an S3 bucket,
which has the potential for zero copying.
sourceraw docstring

store-value-to-s3clj

(store-value-to-s3 creds bucket k value)
source

table-exists?clj

(table-exists? db table-name)
source

update-or-insert!clj

(update-or-insert! db table row where-clause)

Updates columns or inserts a new row in the specified table.

Updates columns or inserts a new row in the specified table.
sourceraw docstring

with-lockingcljmacro

(with-locking lock & body)

Like locking, but expects a java.util.concurrent.locks.Lock <lock>.

Like `locking`, but expects a `java.util.concurrent.locks.Lock` <lock>.
sourceraw docstring

write-edn-objectclj

(write-edn-object filepath data)
(write-edn-object unpack-meta? filepath data)

Efficiently write large data structures to a stream.

Efficiently write large data structures to a stream.
sourceraw docstring

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

× close