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.

Extends:
  • KvStore — Key-value store specification.

Required members:
driver : "zip"
base : KvStore

Underlying key-value store with path to a ZIP file.

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 "/".

context : Context

Specifies context resources that augment/override the parent context.

cache_pool : ContextResource = "cache_pool"

Specifies or references a previously defined Context.cache_pool. It is typically more convenient to specify a default cache_pool in the context.

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 default data_copy_concurrency in the context.

Example JSON specifications

{ "driver": "zip",
  "kvstore": "gs://my-bucket/path/to/file.zip" }

Limitations

Writing is not supported, nor are all ZIP compression formats.