pub enum ChunkIndex {
BtreeV1,
BtreeV2,
SingleChunk,
Implicit,
FixedArray,
ExtensibleArray,
}Expand description
The chunk index structure a chunked dataset uses on disk (read mode only) — which of libhdf5’s chunk-lookup structures the layout message names.
BtreeV1 belongs to the version-3 chunked layout message (the only
index a file whose superblock predates version 2 can carry); the other
five are what a version-4 message’s index-type byte selects, per
H5D__layout_set_latest_indexing (H5Dlayout.c).
Variants§
BtreeV1
Version-1 B-tree — the classic chunk index, and the only one a version-3 chunked layout message can carry.
BtreeV2
Version-2 B-tree — two or more unlimited dimensions.
SingleChunk
A single index entry for a dataset whose one chunk covers the whole
dataspace (dims == max_dims == chunk_dims).
Implicit
No index structure at all: chunk addresses are computed arithmetically over a contiguous run (no filter, early allocation).
FixedArray
Fixed-size array — a fixed shape needing per-chunk bookkeeping.
ExtensibleArray
Extensible array — exactly one unlimited dimension.