attrs-tiledb_array_schema-ANY-method: Returns a list of all 'tiledb_attr' objects associated with...

attrs,tiledb_array_schema,ANY-methodR Documentation

Returns a list of all tiledb_attr objects associated with the tiledb_array_schema

Description

Returns a list of all tiledb_attr objects associated with the tiledb_array_schema

Usage

## S4 method for signature 'tiledb_array_schema,ANY'
attrs(object, idx, ...)

Arguments

object

tiledb_array_schema

idx

index argument, currently unused.

...

Extra parameter for method signature, currently unused.

Value

a list of tiledb_attr objects

Examples


dom <- tiledb_domain(dims = c(tiledb_dim("d1", c(1L, 10L), type = "INT32")))
sch <- tiledb_array_schema(dom, attrs = c(tiledb_attr("a1", type = "INT32"),
                                               tiledb_attr("a2", type = "FLOAT64")))
attrs(sch)

lapply(attrs(sch), datatype)


tiledb documentation built on Oct. 4, 2024, 5:06 p.m.