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.
Returns
NULL (called for side effects).
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 delete_item()
Delete an item from the store.
Usage
MemoryStore$delete_item(key)
Returns
NULL (called for side effects).
Method rmdir()
Remove a path within a Store.
Returns
NULL (called for side effects).
Print a human-readable summary of the store.
Returns
self (invisibly).
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.