Skip to contents

An R6 class that represents the 'data' schema for CAS storage and provides active fields to get/set filter lists for each dimension/attribute.

This class should not be used directly, but it can be accessed via driver_schemas().

Value

A SchemaData, R6 object.

Super class

SchemaBase -> SchemaData

Active bindings

dim_hash

Get or set a filter list.

attr_value

Get or set a filter list.

Methods

Inherited methods


SchemaData$new()

Create a new SchemaData object.

Usage

SchemaData$new(uri = NULL, ctx = NULL, none_filter = FALSE)

Arguments

uri

Optional URI path to array for extracting its schema from. If not given, the default schema will be loaded.

ctx

Optional tiledb_ctx object.

none_filter

TRUE for no filters, FALSE for default filters. Applied on default schemas and not on schemas extracted from a URI path.


SchemaData$clone()

The objects of this class are cloneable with this method.

Usage

SchemaData$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

# Instantiate SchemaData
sch_data <- SchemaData$new()

# Retrieve filter list for 'value' attribute
sch_data$attr_value
#> tiledb_filter_list(c(tiledb_filter_set_option(tiledb_filter("ZSTD"),"COMPRESSION_LEVEL",-7)))