Constructs a tiledb_array_schema object

tiledb_array_schema(ctx, domain, attrs, cell_order = "COL_MAJOR",
  tile_order = "COL_MAJOR", sparse = FALSE, coords_compressor = NULL,
  offsets_compressor = NULL)

Arguments

ctx

tiledb_ctx object

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_compressor

(optional)

offsets_compressor

(optional)

Examples

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