-
Notifications
You must be signed in to change notification settings - Fork 4
Db File
Bill La Forge edited this page Nov 28, 2015
·
16 revisions
Db file is a component that provides random file access. It builds on the Closer component.
Here are the functions to add this component to an option map:
(aatree.db-file this file)
(aatree.db-file this)
Both of the above functions return a new options map. In the second function, the options map must have a File object associated with the :db-file key.
The following functions are also supported by db-file:
(aatree.core.db-file-empty? this)
(aatree.core.db-file-force this)
(aatree.core.db-file-read this byte-buffer position)
(aatree.core.db-file-write this byte-buffer position)
(aatree.core.db-file-write-root this byte-buffer position)
See also Db-file Options.