A "virtual" group is a collection of TileDB arrays that are contextually related, but not stored in a TileDB group. They can be created by using a mapping for array names to array URIs.
Breaking Changes:
Remove property metadata_key from the Group class
Remove function reopen from the Group class
Features:
Add parameter is_virtual to classmethod Group.create for flagging if the created group should be a virtual group.
Add classmethod Group.create_virtual that creates a virtual group from a mapping of array names to URIs.
Add a classmethod GroupSchema.load_virtual for loading a virtual group defined by a mapping from array names to URIs.
Add example notebook for creating groups.
Refactor:
Remove no longer needed private variables from the Group class
Add _get_array_key helper function
Split _get_array_uri into _get_array_uri_ and _get_metadata_array_uri with support for virtual groups.
A "virtual" group is a collection of TileDB arrays that are contextually related, but not stored in a TileDB group. They can be created by using a mapping for array names to array URIs.
Breaking Changes:
metadata_key
from theGroup
classreopen
from theGroup
classFeatures:
is_virtual
to classmethodGroup.create
for flagging if the created group should be a virtual group.Group.create_virtual
that creates a virtual group from a mapping of array names to URIs.GroupSchema.load_virtual
for loading a virtual group defined by a mapping from array names to URIs.Refactor:
Group
class_get_array_key
helper function_get_array_uri
into_get_array_uri_
and_get_metadata_array_uri
with support for virtual groups.Tests: