Abstract read-only reader class.
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()
ro <- read_only(d)
inherits(ro, "dafr::DafReadOnly")
#> [1] TRUE