tiledb_array_schema {tiledb} | R Documentation |
Constructs a tiledb_array_schema
object
Description
Constructs a tiledb_array_schema
object
Usage
tiledb_array_schema(
domain,
attrs,
cell_order = "COL_MAJOR",
tile_order = "COL_MAJOR",
sparse = FALSE,
coords_filter_list = NULL,
offsets_filter_list = NULL,
validity_filter_list = NULL,
capacity = 10000L,
allows_dups = FALSE,
enumerations = 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) |
validity_filter_list |
(optional) |
capacity |
(optional) |
allows_dups |
(optional, requires ‘sparse’ to be TRUE) |
enumerations |
(optional) named list of enumerations |
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)
schema
[Package tiledb version 0.29.0 Index]