Class representing an abstract store
Details
Abstract store for Zarr
Public fields
metadata_class
The metadata encoder/decoder for this store.
Methods
Method new()
Create a Store object
Method is_readable()
Test if Store is readable.
Method is_writeable()
Test if Store is writeable.
Method is_erasable()
Test if Store is eraseable.
Method is_listable()
Test if Store is listable.
Method listdir()
List the store directory.
Returns
Character vector of keys.
Method rename()
Rename a Store path.
Usage
Store$rename(src_path, dst_path)
Arguments
src_path
character source path.
dst_path
character destination path.
Returns
NULL (called for side effects).
Method rmdir()
Remove a path within a Store.
Returns
NULL (called for side effects).
Method get_item()
Get an item from the store.
Returns
The item data in a vector of type raw.
Method set_item()
Set an item in the store.
Usage
Store$set_item(key, value)
Arguments
key
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.
Method delete_item()
Delete an item from the store.
Returns
NULL (called for side effects).
Get consolidated metadata if it exists.
Usage
Store$get_consolidated_metadata()
Print a human-readable summary of the store.
Returns
self (invisibly).
Method clone()
The objects of this class are cloneable with this method.
Usage
Store$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.