Returns a list of tiledb_dim objects associated with the tiledb_array_schema

# S4 method for tiledb_array_schema
dimensions(object)

Arguments

object

tiledb_array_schema

Value

a list of tiledb_dim objects

Examples

dom <- tiledb_domain(dims = c(tiledb_dim("d1", c(1L, 100L), type = "INT32"), tiledb_dim("d2", c(1L, 50L), type = "INT32"))) sch <- tiledb_array_schema(dom, attrs = c(tiledb_attr("a1", type = "INT32"))) dimensions(dom)
#> [[1]] #> An object of class "tiledb_dim" #> Slot "ptr": #> <pointer: 0x55d9480b5480> #> #> #> [[2]] #> An object of class "tiledb_dim" #> Slot "ptr": #> <pointer: 0x55d9486eab90> #> #>
lapply(dimensions(dom), name)
#> [[1]] #> [1] "d1" #> #> [[2]] #> [1] "d2" #>