Liking cljdoc? Tell your friends :D

nd-db.index


create-indexclj

(create-index filename id-fn & [skip-first?])

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
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
sourceraw docstring

idx-combinrclj

(idx-combinr)
(idx-combinr _)
(idx-combinr acc more)
source

idx-reducrclj

(idx-reducr id-fn)
source

index-idclj

(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.
sourceraw docstring

readerclj

(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)!
sourceraw docstring

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

× close