Liking cljdoc? Tell your friends :D

merkle-db.patch

Patches are applied on top of tables in order to efficiently store changes while re-using old indexed data.

Patches are applied on top of tables in order to efficiently store changes
while re-using old indexed data.
raw docstring

default-limitclj

The default number of changes to hold in a patch tablet.

The default number of changes to hold in a patch tablet.
raw docstring

from-changesclj

(from-changes changes)

Construct a patch tablet node data from a map of change data.

Construct a patch tablet node data from a map of change data.
raw docstring

patch-seqclj

(patch-seq patch records)

Combines an ordered sequence of patch data with a lazy sequence of record keys and data. Any records present in the patch will appear in the output sequence, replacing any equivalent keys from the sequence. If the changed value is a tombstone, the record will not appear in the sequence.

Combines an ordered sequence of patch data with a lazy sequence of record
keys and data. Any records present in the patch will appear in the output
sequence, replacing any equivalent keys from the sequence. If the changed
value is a tombstone, the record will not appear in the sequence.
raw docstring

remove-tombstonesclj

(remove-tombstones rs)

Returns a lazy sequence of record entries with tombstoned records removed.

Returns a lazy sequence of record entries with tombstoned records removed.
raw docstring

tombstone?clj

(tombstone? x)

Returns true if the value is a tombstone.

Returns true if the value is a tombstone.
raw docstring

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

× close