Abstract S7 class. Concrete subclasses (MemoryDaf, FilesDaf,
...) inherit from DafReader or one of its abstract descendants
DafReadOnly / DafWriter.
Arguments
- name
Human-readable identifier for the
Dafstore.- internal
Internal per-store environment used by format backends to stash backend-specific state; reserved for package use.
- cache
Three-tier cache environment (mapped / memory / query). See
new_cache_env().- axis_version_counter
Environment tracking per-axis mutation counters; invalidates cached reads when an axis is modified.
- vector_version_counter
Environment tracking per-vector mutation counters.
- matrix_version_counter
Environment tracking per-matrix mutation counters.
Examples
d <- memory_daf()
inherits(d, "dafr::DafReader")
#> [1] TRUE