Skip to main content

FieldMetadataExt

Trait FieldMetadataExt 

Source
pub trait FieldMetadataExt {
    // Required methods
    fn to_arrow_field(&self) -> Field;
    fn arrow_data_type(&self) -> DataType;
}
Expand description

Extension trait for hdbconnect FieldMetadata.

Provides convenient conversion methods for HANA metadata to Arrow types.

Required Methods§

Source

fn to_arrow_field(&self) -> Field

Convert to Arrow Field.

Source

fn arrow_data_type(&self) -> DataType

Get the Arrow DataType for this field.

Implementations on Foreign Types§

Source§

impl FieldMetadataExt for FieldMetadata

Implementors§