Idiomatic immutable-data facade over libdictenstein's Java FFM bindings.
Idiomatic immutable-data facade over libdictenstein's Java FFM bindings.
(abi-version)Native ABI version (LDICT_ABI_VERSION); always 1 for this family.
Native ABI version (LDICT_ABI_VERSION); always 1 for this family.
(api-revision)Compatible-additions revision within the ABI version (LDICT_API_REVISION).
Compatible-additions revision within the ABI version (LDICT_API_REVISION).
(create-persistent-artrie path)(create-persistent-artrie path unit-domain)(double-array-trie entries)(double-array-trie entries unit-domain)Build an immutable DAT from a map/sequence of [term value] pairs.
Build an immutable DAT from a map/sequence of [term value] pairs.
(dynamic-dawg)(dynamic-dawg unit-domain)Construct an empty full-CRUD DynamicDAWG.
Construct an empty full-CRUD DynamicDAWG.
Alias for snapshot; returns an immutable persistent vector.
Alias for snapshot; returns an immutable persistent vector.
(entry-eduction dictionary)(entry-eduction dictionary xform)Return an eduction over one newly captured immutable revision.
Return an eduction over one newly captured immutable revision.
(entry-seq dictionary)Return a seq over one newly captured immutable revision.
Return a seq over one newly captured immutable revision.
(get dictionary term)Return {:present? boolean :value unsigned-integer-or-nil}.
Return {:present? boolean :value unsigned-integer-or-nil}.
(get-u64 dictionary tokens)Return {:present? boolean :value unsigned-integer-or-nil} for u64 tokens.
Return {:present? boolean :value unsigned-integer-or-nil} for u64 tokens.
(open-entry-stream dictionary)(open-entry-stream dictionary batch-size)Open a closeable, single-pass iterator over one immutable revision.
Open a closeable, single-pass iterator over one immutable revision.
(open-persistent-artrie path)(open-persistent-artrie path unit-domain)(put-u64! dictionary tokens value)Insert or update a full-range u64-token term.
Insert or update a full-range u64-token term.
(reduce-entries dictionary reducing-function initial)(reduce-entries dictionary batch-size reducing-function initial)Resource-scoped streaming reduce over one immutable revision.
Resource-scoped streaming reduce over one immutable revision.
(scdawg)(scdawg unit-domain)Construct an empty substring-indexing SCDAWG.
Construct an empty substring-indexing SCDAWG.
(snapshot dictionary)Capture one immutable revision as a persistent vector of entry maps.
The vector is host-owned, lexicographically ordered, and naturally supports seq, reduce, transduce, and repeated traversal after the dictionary closes.
Capture one immutable revision as a persistent vector of entry maps. The vector is host-owned, lexicographically ordered, and naturally supports seq, reduce, transduce, and repeated traversal after the dictionary closes.
(stream-seq stream)Adapt an open EntryStream to a lazy seq of immutable Clojure entry maps.
Consume the result inside with-open; abandoning a lazy seq does not itself close its native cursor.
Adapt an open EntryStream to a lazy seq of immutable Clojure entry maps. Consume the result inside with-open; abandoning a lazy seq does not itself close its native cursor.
(transduce-entries dictionary xform reducing-function initial)(transduce-entries dictionary batch-size xform reducing-function initial)Resource-scoped streaming transduction over one immutable revision.
Resource-scoped streaming transduction over one immutable revision.
(with-entry-stream [binding dictionary & [batch-size]] & body)Bind a stream for body and close it after normal return, reduced traversal, or exception. Binding forms are [name dictionary] or [name dictionary batch-size].
Bind a stream for body and close it after normal return, reduced traversal, or exception. Binding forms are [name dictionary] or [name dictionary batch-size].
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 |