Constructs a tiledb_array_schema object

tiledb_array_schema(
  domain,
  attrs,
  cell_order = "COL_MAJOR",
  tile_order = "COL_MAJOR",
  sparse = FALSE,
  coords_filter_list = NULL,
  offsets_filter_list = NULL,
  ctx = tiledb_get_context()
)

Arguments

domain

tiledb_domain object

attrs

a list of one or more tiledb_attr objects

cell_order

(default "COL_MAJOR")

tile_order

(default "COL_MAJOR")

sparse

(default FALSE)

coords_filter_list

(optional)

offsets_filter_list

(optional)

ctx

tiledb_ctx object (optional)

Examples

ctx <- tiledb_ctx(limitTileDBCores()) schema <- tiledb_array_schema( dom = tiledb_domain( dims = c(tiledb_dim("rows", c(1L, 4L), 4L, "INT32"), tiledb_dim("cols", c(1L, 4L), 4L, "INT32"))), attrs = c(tiledb_attr("a", type = "INT32")), cell_order = "COL_MAJOR", tile_order = "COL_MAJOR", sparse = FALSE) schema