(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.
(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`).
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |