Liking cljdoc? Tell your friends :D

xitdb.xitdb-types


materializeclj

(materialize v)

Converts a xitdb data structure v to a clojure data structure. This has the effect of reading the whole data structure into memory.

Converts a xitdb data structure `v` to a clojure data structure.
This has the effect of reading the whole data structure into memory.
sourceraw docstring

read-from-cursorclj

(read-from-cursor cursor for-writing?)

Reads the value at cursor and converts it to a Clojure type. Values tagged Hash map, Array List, Linked Array List and Set will be converted to the respective XITDB* type. If for-writing? is true, the function will return XITDBWrite* types, so cursor must be a WriteCursor. BYTES values will be pre-processed (see conversion/read-bytes-with-format-tag).

Reads the value at cursor and converts it to a Clojure type.
Values tagged Hash map, Array List, Linked Array List and Set will be converted to
the respective XITDB* type.
If `for-writing?` is true, the function will return XITDBWrite* types, so `cursor` must be a WriteCursor.
`BYTES` values will be pre-processed (see `conversion/read-bytes-with-format-tag`).
sourceraw docstring

slot-for-value!clj

(slot-for-value! cursor v)
source

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

× close