Functions for working with tablet data.
Functions for working with tablet data.
(first-key tablet)
Return the first record key present in the tablet.
Return the first record key present in the tablet.
(from-records records)
Constructs a new tablet node. Does not ensure that the records are sorted.
Constructs a new tablet node. Does not ensure that the records are sorted.
(join left right)
Join two tablets into a single tablet. The tablets key ranges must not overlap.
Join two tablets into a single tablet. The tablets key ranges must not overlap.
(keys tablet)
Return a sequence of the keys in the tablet.
Return a sequence of the keys in the tablet.
(last-key tablet)
Return the last record key present in the tablet.
Return the last record key present in the tablet.
(nth-key tablet n)
Return the nth key present in the tablet data.
Return the nth key present in the tablet data.
(prune tablet)
Update a tablet by removing empty records from the data.
Update a tablet by removing empty records from the data.
(read-all tablet)
Read a sequence of key/map tuples which contain the field data for all the records in the tablet.
Read a sequence of key/map tuples which contain the field data for all the records in the tablet.
(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 a lazy sequence of key/map tuples which contain the field data for the records whose keys are in the given collection.
(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.
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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close