(->attrs indexes idents)
Creates a map attr-eid --> attribute-map
Creates a map attr-eid --> attribute-map
(->db database-info indexes store log-entry)
Given an object of indexes that supports select-datoms on eavt and aevt, realize a database instance from the datoms therein.
Given an object of indexes that supports select-datoms on eavt and aevt, realize a database instance from the datoms therein.
(->db-fns indexes idents)
Constructs a map of db-fn-eid --> db-fn
Constructs a map of db-fn-eid --> db-fn
(->idents indexes)
Creates a bijective map ident <--> eid
Creates a bijective map ident <--> eid
(->parts indexes idents)
Creates a map partition-eid --> partition-id (NOT EID)
Creates a map partition-eid --> partition-id (NOT EID)
(attribute* attr-datom-set idents)
Builds an attribute entity from a raw query result on the database
Builds an attribute entity from a raw query result on the database
(log->db database-info store log)
Given the transaction log, realize a database consistent with the latest entry in the transaction log.
Given the transaction log, realize a database consistent with the latest entry in the transaction log.
(log-entry->db database-info store log entry)
Given a log entry, creates a database snapshot consistent with that point in time. If `state?' is set, creates a staging db capable of flushing index updates. Will asynchronously read the span of the transaction log needed to reconstitute the database's state.
Given a log entry, creates a database snapshot consistent with that point in time. If `state?' is set, creates a staging db capable of flushing index updates. Will asynchronously read the span of the transaction log needed to reconstitute the database's state.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close