merkle-db.tablet
Functions for working with tablet data.
from-records
(from-records records)
Constructs a new tablet node. Does not ensure that the records are sorted.
join
(join left right)
Join two tablets into a single tablet. The tablets key ranges must not overlap.
read-all
(read-all tablet)
Read a sequence of key/map tuples which contain the field data for all the records in the tablet.
read-batch
(read-batch tablet record-keys)
Read a lazy sequence of key/map tuples which contain the field data for the records whose keys are in the given collection.
read-range
(read-range tablet min-key max-key)
Read a lazy sequence of key/map tuples which contain the field data for the records whose keys lie in the given range, inclusive. A nil boundary includes all records in that range direction.