Functional interface that initialises a TileDBGroupExp instance and opens
a group object at READ or WRITE mode.
Arguments
- uri
URI path for the
TileDBobject.- mode
Mode to open : either
"READ" (default) or "WRITE".- ctx
Optional
tiledb::tiledb_ctx()object.- tiledb_timestamp
Set a
TileDBtimestamp range that the resource will be opened at. Effective only for"READ"mode. Valid options:A
NULLvalue (default)An
Robject coercible toPOSIXctwith length 1 which used for end timestamp, or length 2 with start, end timestampsAn object of class
tiledb_timestamp. Seeset_tiledb_timestamp()
Also, it can be set through active field
$tiledb_timestamp.
Active bindings
ctx: A TileDB Context. Seetiledb::tiledb_ctx()tiledb_timestamp: ATileDBtimestamp range that the resource will be opened at. Seeset_tiledb_timestamp()uri: The URI of theTileDBobjectmode: Get the mode of the object: one of the following:"CLOSED","READ"or"WRITE"object_type: TheTileDBobject type:"ARRAY","GROUP"or"INVALID"object: Access the underlyingtiledb::tiledb_group()objectmembers: Access the list of group members.size: Directory size
Methods
Public Methods
$new()$class()$is_open()$exists()$get_metadata()$set_metadata()$create()$open()$close()$remove()$delete()$count_members()$get_members_df()$get_member()$set_member()$names()$member_exists()$print()$dump()$has_non_members()$non_members()$prune_non_members()$delete_group()$walk_group()$dir_tree()
Examples
if (FALSE) { # \dontrun{
# uri path
uri <- tempdir()
obj <- TileDBGroup$new(uri)
obj$create()
obj$close()
# new instance
newobj <- tdb_group(uri)
newobj$is_open() # TRUE
newobj$mode # "READ"
} # }