nanoarrow_extension_spec {nanoarrow}R Documentation

Register Arrow extension types

Description

Register Arrow extension types

Usage

nanoarrow_extension_spec(data = list(), subclass = character())

register_nanoarrow_extension(extension_name, extension_spec)

unregister_nanoarrow_extension(extension_name)

resolve_nanoarrow_extension(extension_name)

Arguments

data

Optional data to include in the extension type specification

subclass

A subclass for the extension type specification. Extension methods will dispatch on this object.

extension_name

An Arrow extension type name (e.g., arrow.r.vctrs)

extension_spec

An extension specification inheriting from 'nanoarrow_extension_spec'.

Value

Examples

nanoarrow_extension_spec("mynamespace.mytype", subclass = "mypackage_mytype_spec")

[Package nanoarrow version 0.5.0.1 Index]