Skip to main content

Module convert

Module convert 

Source
Expand description

Conversions of Arrow arrays into Vortex arrays without import plugins.

Use from_arrow_dyn to dispatch on the Arrow DataType. These conversions are also the fallback for ArrowSession when no plugin handles the array.

Traits§

IntoVortexArray
Zero-copy conversion of Arrow buffers into non-nullable Vortex arrays.

Functions§

from_arrow_batch
Canonical conversion of an Arrow RecordBatch into a Vortex struct array.
from_arrow_boolean
Convert an Arrow boolean array, sharing its bit buffer on import.
from_arrow_byte_view
Zero-copy conversion of an Arrow string/binary view array into a Vortex VarBinView array.
from_arrow_bytes
Conversion of an Arrow (large) string/binary array into a Vortex VarBin array, sharing its bytes.
from_arrow_decimal32
Conversion of an Arrow Decimal32 array into a Vortex decimal array, zero-copy when the Arrow width is the canonical width, otherwise a checked copy.
from_arrow_decimal64
Conversion of an Arrow Decimal64 array into a Vortex decimal array, zero-copy when the Arrow width is the canonical width, otherwise a checked copy.
from_arrow_decimal128
Conversion of an Arrow Decimal128 array into a Vortex decimal array, zero-copy when the Arrow width is the canonical width, otherwise a checked copy.
from_arrow_decimal256
Conversion of an Arrow Decimal256 array into a Vortex decimal array, zero-copy when the Arrow width is the canonical width, otherwise a checked copy.
from_arrow_dictionary
Convert an Arrow dictionary array into a Vortex DictArray.
from_arrow_dyn
Convert an Arrow array to Vortex by its DataType.
from_arrow_fixed_size_list
Convert an Arrow fixed-size list using its field to import the elements.
from_arrow_list
Conversion of an Arrow (large) list array into a Vortex List array.
from_arrow_list_view
Conversion of an Arrow (large) list-view array into a Vortex ListView array.
from_arrow_map
Conversion of an Arrow map array into a Vortex Map array.
from_arrow_null
Conversion of an Arrow null array into a Vortex Null array.
from_arrow_primitive
Convert an Arrow numeric primitive array, sharing its values buffer on import.
from_arrow_struct
Conversion of an Arrow struct array into a Vortex Struct array, converting each column.
from_arrow_temporal
Conversion of an Arrow temporal array (timestamp/date/time) into a Vortex temporal extension array.
nulls
Convert an Arrow NullBuffer into a Vortex Validity for an array of the given nullability.