Module type_conversion

Module type_conversion 

Source
Expand description

Module for transforming a typed arrow Array to VariantArray.

Macrosยง

decimal_to_variant_decimal ๐Ÿ”’
Convert a decimal value to a VariantDecimal
generic_conversion_single_value ๐Ÿ”’
Convert the value at a specific index in the given array into a Variant, using method requiring a generic type to downcast the generic array to a specific array type and cast_fn to transform the element.
impl_primitive_from_variant ๐Ÿ”’
Macro to generate PrimitiveFromVariant implementations for Arrow primitive types
non_generic_conversion_single_value ๐Ÿ”’
Convert the value at a specific index in the given array into a Variant.
primitive_conversion_single_value ๐Ÿ”’
Convert the value at a specific index in the given array into a Variant.

Structsยง

CastOptions
Options for controlling the behavior of cast_to_variant_with_options.

Traitsยง

PrimitiveFromVariant ๐Ÿ”’
Extension trait for Arrow primitive types that can extract their native value from a Variant