Returns a list of the tiledb_domain dimension objects

# S4 method for tiledb_domain
dimensions(object)

Arguments

object

tiledb_domain

Value

a list of tiledb_dim

Examples

ctx <- tiledb_ctx() dom <- tiledb_domain(ctx, dims = c(tiledb_dim(ctx, "d1", c(1L, 100L), type = "INT32"), tiledb_dim(ctx, "d2", c(1L, 50L), type = "INT32"))) dimensions(dom)
#> [[1]] #> An object of class "tiledb_dim" #> Slot "ptr": #> <pointer: 0x7fdd6318b450> #> #> #> [[2]] #> An object of class "tiledb_dim" #> Slot "ptr": #> <pointer: 0x7fdd63128b20> #> #>
lapply(dimensions(dom), name)
#> [[1]] #> [1] "d1" #> #> [[2]] #> [1] "d2" #>