Adds NDArray-specific functionality to the SOMAArrayBase
class.
(lifecycle: maturing)
Super classes
tiledbsoma::TileDBObject
-> tiledbsoma::TileDBArray
-> tiledbsoma::SOMAArrayBase
-> SOMANDArrayBase
Methods
Inherited methods
tiledbsoma::TileDBObject$class()
tiledbsoma::TileDBObject$exists()
tiledbsoma::TileDBObject$initialize()
tiledbsoma::TileDBObject$is_open()
tiledbsoma::TileDBObject$mode()
tiledbsoma::TileDBObject$reopen()
tiledbsoma::TileDBArray$attributes()
tiledbsoma::TileDBArray$attrnames()
tiledbsoma::TileDBArray$close()
tiledbsoma::TileDBArray$colnames()
tiledbsoma::TileDBArray$dimensions()
tiledbsoma::TileDBArray$dimnames()
tiledbsoma::TileDBArray$get_metadata()
tiledbsoma::TileDBArray$index_column_names()
tiledbsoma::TileDBArray$maxshape()
tiledbsoma::TileDBArray$ndim()
tiledbsoma::TileDBArray$non_empty_domain()
tiledbsoma::TileDBArray$open()
tiledbsoma::TileDBArray$print()
tiledbsoma::TileDBArray$schema()
tiledbsoma::TileDBArray$set_metadata()
tiledbsoma::TileDBArray$shape()
tiledbsoma::TileDBArray$tiledb_array()
tiledbsoma::TileDBArray$tiledb_schema()
tiledbsoma::TileDBArray$used_shape()
Method create()
Create a SOMA NDArray named with the URI. (lifecycle: maturing)
Arguments
type
an Arrow type defining the type of each element in the array.
shape
a vector of integers defining the shape of the array.
platform_config
A platform configuration object
internal_use_only
Character value to signal this is a 'permitted' call, as
create()
is considered internal and should not be called directly.
Method tiledbsoma_has_upgraded_shape()
Returns TRUE if the array has the upgraded resizeable shape
feature from TileDB-SOMA 1.15: the array was created with this support,
or it has had upgrade_domain
applied to it.
(lifecycle: maturing)
Method resize()
Increases the shape of the array as specified, up to the hard
limit which is maxshape
. Raises an error if the new shape is less than
the current shape in any dimension. Raises an error if the requested new
shape exceeds maxshape
in any dimension. Raises an error if the array
doesn't already have a shape: in that case please call
tiledbsoma_upgrade_shape
. (lifecycle: maturing)
Method tiledbsoma_upgrade_shape()
Allows the array to have a resizeable shape as described in the
TileDB-SOMA 1.15 release notes. Raises an error if the shape exceeds maxshape in any
dimension. Raises an error if the array already has a shape. The methods
tiledbsoma_upgrade_shape
and resize
are very similar: the former must be
call on a pre-1.15 array the first time a shape is set on it; the latter must
be used for subsequent resizes on any array which already has upgraded shape.
(lifecycle: maturing)