|
libzarr
Header-only C++17 Zarr v2/v3, WASM-compatible
|
#include <sharding.hpp>
Public Attributes | |
| std::string | shard_key |
| Store key of the owning shard object. | |
| std::uint64_t | slot = 0 |
| C-order slot of the chunk within the shard (pass to extent()). | |
| std::uint64_t | index_size = 0 |
| bool | index_at_end = true |
Which shard object holds an inner chunk and where its index sits — computed from ArrayMeta and the array's path alone (shard::place).
| bool zarr::shard::Placement::index_at_end = true |
index_location: end (default, index is the trailing index_size bytes) or start (index is the leading index_size bytes).
| std::uint64_t zarr::shard::Placement::index_size = 0 |
Encoded byte size of the shard index; fetch this many bytes at the index location (a suffix range when index_at_end, else a prefix range).