delayed_array_udf: Define a single-array UDF to be executed within a task graph

View source: R/manual_layer_delayed.R

delayed_array_udfR Documentation

Define a single-array UDF to be executed within a task graph

Description

Define a single-array UDF to be executed within a task graph

Usage

delayed_array_udf(
  array,
  udf = NULL,
  registered_udf_name = NULL,
  selectedRanges,
  attrs,
  layout = NULL,
  args = NULL,
  result_format = "native",
  name = NULL,
  namespace = NULL,
  language = "r"
)

Arguments

array

TileDB URI – see vignette for examples.

udf

User-defined function, as in UDF examples. Arguments are specified separately via args. One of udf and registered_udf_name must be non-null.

registered_udf_name

Name of a registered UDF, of the form namespace/udfname. Arguments are specified separately via args. One of udf and registered_udf_name must be non-null.

selectedRanges

As in UDF examples.

attrs

As in UDF examples.

layout

As in UDF examples.

result_format

As in UDF examples.

name

A display name for the query

namespace

If supplied, a namespace to use for executing this particular node. If omitted, a namespace can be applied at your top-level call to compute. If omitted there as well, your logged-in account's default namespace will be used.

language

If omitted, defaults to "r". Can be set to "python"

Value

The return value from the UDF as an R object.

See Also

Other manual-layer functions: array_info(), compute_sequentially(), compute(), delayed_args<-(), delayed_args(), delayed_generic_udf(), delayed_sql(), delayed(), deregister_array(), deregister_group(), deregister_udf(), execute_array_udf(), execute_generic_udf(), execute_multi_array_udf(), execute_sql_query(), get_udf_info(), group_info(), list_arrays(), list_groups(), login(), register_array(), register_udf(), update_udf_info(), user_profile()


TileDB-Inc/TileDB-Cloud-R documentation built on July 18, 2024, 3:33 p.m.