Expand description
Module for transforming a typed arrow Array to VariantArray.
MacrosΒ§
- generic_conversion_ πsingle_ value 
- Convert the value at a specific index in the given array into a Variant, usingmethodrequiring a generic type to downcast the generic array to a specific array type andcast_fnto transform the element.
- generic_conversion_ πsingle_ value_ with_ result 
- impl_primitive_ πfrom_ variant 
- Macro to generate PrimitiveFromVariant implementations for Arrow primitive types
- impl_timestamp_ πfrom_ variant 
- 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Β§
- PrimitiveFrom πVariant 
- Extension trait for Arrow primitive types that can extract their native value from a Variant
- TimestampFrom πVariant 
- Extension trait for Arrow timestamp types that can extract their native value from a Variant
We canβt use PrimitiveFromVariantdirectly because we need two implementations for each timestamp type β theNTZparam here.
FunctionsΒ§
- variant_to_ πunscaled_ decimal 
- Returns the unscaled integer representation for Arrow decimal type Ofrom aVariant.