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

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)
#> Error in version(): could not find function "version"
schema
#> standardGeneric for "schema" defined from package "tiledb" #> #> function (object, ...) #> standardGeneric("schema") #> <bytecode: 0x55cb0e7cda78> #> <environment: 0x55cb0e7c9480> #> Methods may be defined for arguments: object #> Use showMethods("schema") for currently available ones.