Struct OwnedDatasetIndex
Explicit reusable primary index for one OwnedDataset identity layout.
struct OwnedDatasetIndex;
The index does not retain or copy the dataset. It contains typed primary lookup plus reverse Way/Relation parent edges. Rebuild it after mutations that change IDs, element ordering, insertion/removal, Way node references, or Relation members. Tag, metadata and coordinate-only edits do not affect the index.
Methods
| Name | Description |
|---|---|
build
(dataset, issue)
|
Build typed ID-to-array indices and reverse parent edges transactionally. |
clear
()
|
|
find
(type, id, index)
|
Find one typed element array index. |
resolveMembers
(relation)
|
Resolve one owned Relation's members lazily. |
resolveNodes
(way)
|
Resolve one owned Way's node references lazily. |