Replace contents of SOMACollection::get with a call to SOMAObject::open
Rename SOMAGroup::member_to_uri_mapping to SOMAGroup::members (this is a getter that returns a map of the child member's name and its associated SOMAGroupEntry)
Refactor SOMAGroup::members mapping to store SOMAGroupEntry values. SOMAGroupEntry stores the URI of the child member and the type of SOMAObject it is. This type info gets passed into SOMAObject::open (via SOMACollection::get) to reduce the number of unnecessary tiledb::open calls
Add an iterator for SOMACollection
Add missing documentation
Rethrow TileDBError as TileDBSOMAError where relevant
Issue and/or context:
This work is originally a part of https://github.com/single-cell-data/TileDB-SOMA/pull/2675
Changes:
SOMACollection::get
with a call toSOMAObject::open
SOMAGroup::member_to_uri_mapping
toSOMAGroup::members
(this is a getter that returns a map of the child member's name and its associatedSOMAGroupEntry
)SOMAGroup::members
mapping to storeSOMAGroupEntry
values.SOMAGroupEntry
stores the URI of the child member and the type ofSOMAObject
it is. This type info gets passed intoSOMAObject::open
(viaSOMACollection::get
) to reduce the number of unnecessarytiledb::open
callsSOMACollection
TileDBError
asTileDBSOMAError
where relevant