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

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"))) sch <- tiledb_array_schema(ctx, dom, attrs = c(tiledb_attr(ctx, "a1"))) dimensions(dom)
#> [[1]] #> An object of class "tiledb_dim" #> Slot "ptr": #> <pointer: 0x7fdd5fdd1e90> #> #> #> [[2]] #> An object of class "tiledb_dim" #> Slot "ptr": #> <pointer: 0x7fdd63706bf0> #> #>
lapply(dimensions(dom), name)
#> [[1]] #> [1] "d1" #> #> [[2]] #> [1] "d2" #>