Liking cljdoc? Tell your friends :D

merkle-db.tablet

Functions for working with tablet data.

Functions for working with tablet data.
raw docstring

first-keyclj

(first-key tablet)

Return the first record key present in the tablet.

Return the first record key present in the tablet.
raw docstring

from-recordsclj

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

joinclj

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

keysclj

(keys tablet)

Return a sequence of the keys in the tablet.

Return a sequence of the keys in the tablet.
raw docstring

last-keyclj

(last-key tablet)

Return the last record key present in the tablet.

Return the last record key present in the tablet.
raw docstring

nth-keyclj

(nth-key tablet n)

Return the nth key present in the tablet data.

Return the nth key present in the tablet data.
raw docstring

pruneclj

(prune tablet)

Update a tablet by removing empty records from the data.

Update a tablet by removing empty records from the data.
raw docstring

read-allclj

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

read-batchclj

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

read-rangeclj

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

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

× close