Store class that uses a hierarchy of list objects,
thus all data will be held in main memory.
Details
MemoryStore for Zarr
Public fields
root
The root list for the store.
Methods
Inherited methods
Method new()
Create a new memory store.
Returns
A new MemoryStore
object.
Method get_parent()
Get the parent of an item.
Usage
MemoryStore$get_parent(item)
Returns
A list with the keys parent
and key
.
Method get_item()
Get an item from the store.
Usage
MemoryStore$get_item(item = NA)
Returns
The item data in a vector of type raw.
Method set_item()
Set an item in the store.
Usage
MemoryStore$set_item(item, value)
Arguments
item
The item key.
value
The item value as a vector of type raw.
Method contains_item()
Determine whether the store contains an item.
Usage
MemoryStore$contains_item(item)
Method listdir()
list the store directory
Usage
MemoryStore$listdir(key = NA)
Method rmdir()
remove a path within a Store
Method clone()
The objects of this class are cloneable with this method.
Usage
MemoryStore$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.