Store class that uses a hierarchy of list objects,
thus all data will be held in main memory.
Details
MemoryStore for Zarr
Super class
Store -> MemoryStore
Public fields
root
The root list for the store.
Methods
Inherited methods
MemoryStore$new()
Create a new memory store.
Returns
A new MemoryStore object.
MemoryStore$get_parent()
Get the parent of an item.
Usage
MemoryStore$get_parent(item)
Returns
A list with the keys parent and key.
MemoryStore$get_item()
Get an item from the store.
Usage
MemoryStore$get_item(item = NA)
Returns
The item data in a vector of type raw.
MemoryStore$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).
MemoryStore$contains_item()
Determine whether the store contains an item.
Usage
MemoryStore$contains_item(item)
MemoryStore$listdir()
List the store directory.
Usage
MemoryStore$listdir(path = NA)
MemoryStore$delete_item()
Delete an item from the store.
Usage
MemoryStore$delete_item(key)
Returns
NULL (called for side effects).
MemoryStore$rmdir()
Remove a path within a Store.
Returns
NULL (called for side effects).
MemoryStore$print()
Print a human-readable summary of the store.
Returns
self (invisibly).
MemoryStore$clone()
The objects of this class are cloneable with this method.
Usage
MemoryStore$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.