zip
Key-Value Store driver¶
The zip
driver implements support for reading from
ZIP format
files on top of a base key-value store. (Not all ZIP features are supported.)
- json kvstore/zip : object¶
Read-only adapter for the ZIP archive format.
JSON specification of the key-value store.
- Optional members:¶
- path : string¶
Key prefix within the key-value store.
If the prefix is intended to correspond to a Unix-style directory path, it should end with
"/"
.
-
cache_pool : ContextResource =
"cache_pool"
¶ Specifies or references a previously defined
Context.cache_pool
. It is typically more convenient to specify a defaultcache_pool
in thecontext
.
-
data_copy_concurrency : ContextResource =
"data_copy_concurrency"
¶ Specifies or references a previously defined
Context.data_copy_concurrency
. It is typically more convenient to specify a defaultdata_copy_concurrency
in thecontext
.
Example JSON specifications¶
{ "driver": "zip",
"kvstore": "gs://my-bucket/path/to/file.zip" }
Limitations¶
Writing is not supported, nor are all ZIP compression formats.