pub trait ToArrowRobj {
    // Required method
    fn to_arrow_robj(&self) -> Result<Robj>;
}
Expand description

Convert an Arrow struct to an Robj

Does not consume self. Takes an arrow-rs struct and converts it into a {nanoarrow} S3 object of class nanoarrow_array, nanoarrow_array_stream, or nanoarrow_schema.

Requires nanoarrow to be available.

Required Methods§

source

fn to_arrow_robj(&self) -> Result<Robj>

Implementations on Foreign Types§

source§

impl ToArrowRobj for RecordBatch

source§

fn to_arrow_robj(&self) -> Result<Robj>

source§

impl ToArrowRobj for ArrayData

source§

fn to_arrow_robj(&self) -> Result<Robj>

source§

impl ToArrowRobj for DataType

source§

fn to_arrow_robj(&self) -> Result<Robj>

source§

impl<T: ArrowPrimitiveType> ToArrowRobj for PrimitiveArray<T>

source§

fn to_arrow_robj(&self) -> Result<Robj>

source§

impl ToArrowRobj for Field

source§

fn to_arrow_robj(&self) -> Result<Robj>

source§

impl ToArrowRobj for Schema

source§

fn to_arrow_robj(&self) -> Result<Robj>

Implementors§