cavm.loader
dispatch
(dispatch db detector docroot a q filename & [{:keys [delete always]}])
loader
(loader db detector docroot filename & [opts])
Load a data file into the database
loader-agent
(loader-agent db detector docroot)
Create an agent to serialize bulk loads, returning a function
for loading a file via the agent, and the queue atom. Files are removed from
queue after loading is complete.
fn [filename & [{:keys [always delete] :or {always false delete false}}]]
Detector is a function returning a file type as a keyword, which
will be used to select a dataset writer method. This has evolved
to a noop, as we currently have a single dataset writer.