(create-index filename id-fn)
Builds up an index of Entity IDs as keys (IDs extracted with id-fn), and as value a vector with 2 values:
Builds up an index of Entity IDs as keys (IDs extracted with id-fn), and as value a vector with 2 values: - the start index in the text file to start read EDN for the input doc - the length in bytes input doc
(index-id & {:keys [filename id-fn]})
This function generates a pseudo unique index ID for the combination of the ID function and the filename.
This function generates a pseudo unique index ID for the combination of the ID function and the filename.
(reader db)
Returns a BufferedReader of the database index. Use this in a with-open block (or close it explicitly when done)!
Returns a BufferedReader of the database index. Use this in a with-open block (or close it explicitly when done)!
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close