Skip to main content

Crate spatialrust_arrow

Crate spatialrust_arrow 

Source
Expand description

Audited Arrow C Data / Stream / Device adapters for SpatialRust records.

spatialrust-core remains Arrow-free. This crate owns the C ABI and all unsafe release callbacks at the export/import boundary.

Structs§

ArrowArray
Arrow C Data Interface array object.
ArrowArrayStream
Arrow C Stream Interface object.
ArrowDeviceArray
Arrow C Device Array wrapper around an ArrowArray.
ArrowSchema
Arrow C Data Interface schema object.
ExportedArrowArray
Owned export that keeps ArrowArray alive until dropped or released.
ExportedArrowArrayStream
Owned Arrow C Stream export.
ExportedArrowDeviceArray
Owned CPU device-array export.
ExportedArrowSchema
Owned export that keeps ArrowSchema alive until dropped or released.

Enums§

ArrowBridgeError
Failures converting SpatialRust records to or from Arrow C ABI values.
ArrowDeviceType
Arrow device type codes used by the C Device Data Interface.

Functions§

export_point_cloud_c_data
Exports a point cloud as an Arrow struct array plus matching schema.
export_point_cloud_device_array
Exports a point cloud as an Arrow device array on CPU.
export_record_source_c_stream
Exports a SpatialRecordSource as an Arrow C Stream of point-cloud structs.
import_point_cloud_c_data
Imports a SpatialRust point cloud from Arrow C Data struct columns.
import_point_cloud_device_array
Imports a CPU Arrow device array into a point cloud.

Type Aliases§

ArrowBridgeResult
Result type for Arrow bridge operations.