Store class that uses HTTP requests.
Read-only. Depends on the crul
package.
Details
HttpStore for Zarr
Methods
Inherited methods
Method new()
Create a HttpStore
object
Usage
HttpStore$new(url, options = NA, headers = NA)
Arguments
url
character url of store
options
crul options
headers
crul headers
Method get_item()
Get an item from the store.
Returns
The item data in a vector of type raw.
Method contains_item()
Determine whether the store contains an item.
Usage
HttpStore$contains_item(item)
Method listdir()
Fetches .zmetadata from the store evaluates its names
Returns
character vector of unique keys that do note start with a .
.
Method get_cache_time_seconds()
Get cache time of http requests.
Usage
HttpStore$get_cache_time_seconds()
Method set_cache_time_seconds()
Set cache time of http requests.
Usage
HttpStore$set_cache_time_seconds(seconds)
Arguments
seconds
number of seconds until cache is invalid -- 0 for no cache
Method clone()
The objects of this class are cloneable with this method.
Usage
HttpStore$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.