Generic get/put-node methods wrapped over the value store protocol. Non-version-specific. Pointers and Nodes in any version of the btree should implement the NodeStorageInfo protocol and storage should just work.
Generic get/put-node methods wrapped over the value store protocol. Non-version-specific. Pointers and Nodes in any version of the btree should implement the NodeStorageInfo protocol and storage should just work.
(get-node store pointer)
Returns the node stored by pointer k
Returns the node stored by pointer k
(get-nodes store pointers)
Returns a sequence of nodes correspondingly ordered to the keys by which they were fetched.
Returns a sequence of nodes correspondingly ordered to the keys by which they were fetched.
(put-nodes store pointers->nodes)
If all puts succeed, this returns the keys by which the nodes were stored.
If all puts succeed, this returns the keys by which the nodes were stored.
(node-pointer? this)
Is this a pointer compatible with the NodeStorage protocol?
Is this a pointer compatible with the NodeStorage protocol?
(node? this)
Is this a node compatible with the NodeStorage protocol?
Is this a node compatible with the NodeStorage protocol?
(uuid this)
(uuid this v)
Returns/sets the uuid that this pointer/uuid uses for storage.
Returns/sets the uuid that this pointer/uuid uses for storage.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close