attrs-tiledb_array_schema-character-method: Returns a 'tiledb_attr' object associated with the...

attrs,tiledb_array_schema,character-methodR Documentation

Returns a tiledb_attr object associated with the tiledb_array_schema with a given name.

Description

Returns a tiledb_attr object associated with the tiledb_array_schema with a given name.

Usage

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

Arguments

object

tiledb_array_schema

idx

attribute name string

...

Extra parameter for method signature, currently unused.

Value

a tiledb_attr object

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, "a2")


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