Groups

Creating TileDB Groups

TileDB allows you to hierarchically organize your arrays in groups. A group is practically a directory with a special (empty) TileDB file __tiledb_group.tdb. This offers an intuitive and familiar way to store your various TileDB objects in persistent storage. You can create a group simply as follows:
C
C++
Python
R
Java
Go
1
// ... create context ctx
2
3
// Create group
4
tiledb_group_create(ctx, "my_group");
Copied!
1
// ... create context ctx
2
3
create_group(ctx, "my_group");
Copied!
1
tiledb.group_create("my_group")
Copied!
1
# ... create context ctx
2
3
tiledb_group_create(ctx, "my_group")
Copied!
1
// ... create context ctx
2
3
Group group = new Group(ctx, "my_group");
Copied!
1
// ... create context ctx
2
3
// Create group
4
tiledb.GroupCreate(ctx, "my_group");
Copied!
You can hierarchically organize TileDB groups similar to your filesystem directories, i.e., groups can be arbitrarily nested in other groups.
Last modified 13d ago
Copy link